#2E457C#2E457C

#2E457C is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.097 H 265.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2E457C
RGBrgb(46, 69, 124)
HSLhsl(222, 46%, 33%)
HSVhsv(222, 63%, 49%)
CMYKcmyk(62.9%, 44.4%, 0%, 51.4%)
CIE-LABlab(30.14, 9.63, -33.98)
CIE-LCHlch(30.14, 35.32, 285.82°)
OKLaboklab(40.1% -0.0081 -0.0968)
OKLCHoklch(40.1% 0.097 265.2)
XYZxyz(6.8917, 6.2917, 19.9161)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E457C #7C652E
analogous
#2E6C7C #2E457C #3E2E7C
triadic
#2E457C #7C2E45 #457C2E
tetradic
#2E457C #7C2E6C #7C652E #2E7C3E
square
#2E457C #7C2E6C #7C652E #2E7C3E
split-complementary
#2E457C #7C3E2E #6C7C2E
monochromatic
#0D1323 #1D2C4F #2E457C #3F5EA9 #607EC4

Accessibility & contrast

On white

9.30
#2E457C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E457C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E457C#FFFFFF#000000##FFFFFF
##2E457C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e457c;
/* rgb */ color: rgb(46, 69, 124);
/* oklch */ color: oklch(40.1% 0.097 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e78a2',
    500: '#2e457c',
    950: '#000000',
  },
}
SCSS
$custom: #2e457c;
$custom-light: #6e78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e457c",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 222.308,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.09713,
    "h": 265.2
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#2E457C
secondary
#AB935B
accent
#AF52D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E457C

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

Preview Lab → · Contrast checker → · Palette generator →

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