#2E457E#2E457E

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

Color values

HEX#2E457E
RGBrgb(46, 69, 126)
HSLhsl(223, 47%, 34%)
HSVhsv(223, 63%, 49%)
CMYKcmyk(63.5%, 45.2%, 0%, 50.6%)
CIE-LABlab(30.26, 10.37, -35.03)
CIE-LCHlch(30.26, 36.54, 286.50°)
OKLaboklab(40.24% -0.0077 -0.0999)
OKLCHoklch(40.24% 0.1 265.6)
XYZxyz(7.0194, 6.3428, 20.5890)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E457E #7E672E
analogous
#2E6D7E #2E457E #3F2E7E
triadic
#2E457E #7E2E45 #457E2E
tetradic
#2E457E #7E2E6D #7E672E #2E7E3F
square
#2E457E #7E2E6D #7E672E #2E7E3F
split-complementary
#2E457E #7E3F2E #6D7E2E
monochromatic
#0D1424 #1E2C51 #2E457E #3E5EAB #617EC5

Accessibility & contrast

On white

9.26
#2E457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E457E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E457E#FFFFFF#000000##FFFFFF
##2E457E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e457e;
/* rgb */ color: rgb(46, 69, 126);
/* oklch */ color: oklch(40.2% 0.100 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f78a4',
    500: '#2e457e',
    950: '#000000',
  },
}
SCSS
$custom: #2e457e;
$custom-light: #6f78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e457e",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 222.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.10017,
    "h": 265.6
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#2E457E
secondary
#AC955C
accent
#B052D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E457E

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

Preview Lab → · Contrast checker → · Palette generator →

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