#2E488B#2E488B

#2E488B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.116 H 265.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2E488B
RGBrgb(46, 72, 139)
HSLhsl(223, 50%, 36%)
HSVhsv(223, 67%, 55%)
CMYKcmyk(66.9%, 48.2%, 0%, 45.5%)
CIE-LABlab(31.99, 13.22, -40.32)
CIE-LCHlch(31.99, 42.43, 288.15°)
OKLaboklab(41.83% -0.0087 -0.1154)
OKLCHoklch(41.83% 0.116 265.7)
XYZxyz(8.1027, 7.0789, 25.3604)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E488B #8B712E
analogous
#2E778B #2E488B #432E8B
triadic
#2E488B #8B2E48 #488B2E
tetradic
#2E488B #8B2E77 #8B712E #2E8B43
square
#2E488B #8B2E77 #8B712E #2E8B43
split-complementary
#2E488B #8B432E #778B2E
monochromatic
#10182F #1F305D #2E488B #3D60B9 #6783CD

Accessibility & contrast

On white

8.69
#2E488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E488B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E488B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E488B#FFFFFF#000000##FFFFFF
##2E488B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508D
Deuteranopia (green-blind)
#14478A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e488b;
/* rgb */ color: rgb(46, 72, 139);
/* oklch */ color: oklch(41.8% 0.116 265.7);
Tailwind
colors: {
  custom: {
    50: '#717aad',
    500: '#2e488b',
    950: '#000000',
  },
}
SCSS
$custom: #2e488b;
$custom-light: #717aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e488b",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 223.226,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.11569,
    "h": 265.7
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#2E488B
secondary
#B39C61
accent
#B34EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E488B

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

Preview Lab → · Contrast checker → · Palette generator →

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