#2E4488#2E4488

#2E4488 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.117 H 267.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E4488
RGBrgb(46, 68, 136)
HSLhsl(225, 49%, 36%)
HSVhsv(225, 66%, 53%)
CMYKcmyk(66.2%, 50%, 0%, 46.7%)
CIE-LABlab(30.62, 14.80, -40.66)
CIE-LCHlch(30.62, 43.27, 289.99°)
OKLaboklab(40.72% -0.005 -0.1164)
OKLCHoklch(40.72% 0.117 267.5)
XYZxyz(7.6362, 6.4920, 24.1384)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4488 #88722E
analogous
#2E7188 #2E4488 #452E88
triadic
#2E4488 #882E44 #44882E
tetradic
#2E4488 #882E71 #88722E #2E8845
square
#2E4488 #882E71 #88722E #2E8845
split-complementary
#2E4488 #88452E #71882E
monochromatic
#0F162D #1F2D5A #2E4488 #3D5BB6 #657ECB

Accessibility & contrast

On white

9.14
#2E4488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E4488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4488
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4488#FFFFFF#000000##FFFFFF
##2E44881.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#0C4487
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4488;
/* rgb */ color: rgb(46, 68, 136);
/* oklch */ color: oklch(40.7% 0.117 267.5);
Tailwind
colors: {
  custom: {
    50: '#7177ab',
    500: '#2e4488',
    950: '#000000',
  },
}
SCSS
$custom: #2e4488;
$custom-light: #7177ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4488",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 225.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.11654,
    "h": 267.5
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#2E4488
secondary
#B29E60
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4488

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E4488 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva