#2E457D#2E457D

#2E457D is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.099 H 265.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2E457D
RGBrgb(46, 69, 125)
HSLhsl(223, 46%, 34%)
HSVhsv(223, 63%, 49%)
CMYKcmyk(63.2%, 44.8%, 0%, 51%)
CIE-LABlab(30.20, 10.00, -34.51)
CIE-LCHlch(30.20, 35.93, 286.16°)
OKLaboklab(40.17% -0.0079 -0.0983)
OKLCHoklch(40.17% 0.099 265.4)
XYZxyz(6.9552, 6.3172, 20.2509)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E457D #7D662E
analogous
#2E6C7D #2E457D #3E2E7D
triadic
#2E457D #7D2E45 #457D2E
tetradic
#2E457D #7D2E6C #7D662E #2E7D3E
square
#2E457D #7D2E6C #7D662E #2E7D3E
split-complementary
#2E457D #7D3E2E #6C7D2E
monochromatic
#0D1424 #1E2C50 #2E457D #3E5EAA #617EC5

Accessibility & contrast

On white

9.28
#2E457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E457D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E457D#FFFFFF#000000##FFFFFF
##2E457D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e457d;
/* rgb */ color: rgb(46, 69, 125);
/* oklch */ color: oklch(40.2% 0.099 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f78a3',
    500: '#2e457d',
    950: '#000000',
  },
}
SCSS
$custom: #2e457d;
$custom-light: #6f78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e457d",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 222.532,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.09865,
    "h": 265.4
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#2E457D
secondary
#AB945B
accent
#AF52D6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E457D

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

Preview Lab → · Contrast checker → · Palette generator →

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