#2E457A#2E457A

#2E457A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.094 H 264.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2E457A
RGBrgb(46, 69, 122)
HSLhsl(222, 45%, 33%)
HSVhsv(222, 62%, 48%)
CMYKcmyk(62.3%, 43.4%, 0%, 52.2%)
CIE-LABlab(30.01, 8.89, -32.93)
CIE-LCHlch(30.01, 34.11, 285.11°)
OKLaboklab(39.97% -0.0085 -0.0937)
OKLCHoklch(39.97% 0.094 264.8)
XYZxyz(6.7665, 6.2417, 19.2568)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E457A #7A632E
analogous
#2E6B7A #2E457A #3D2E7A
triadic
#2E457A #7A2E45 #457A2E
tetradic
#2E457A #7A2E6B #7A632E #2E7A3D
square
#2E457A #7A2E6B #7A632E #2E7A3D
split-complementary
#2E457A #7A3D2E #6B7A2E
monochromatic
#0C1321 #1D2C4E #2E457A #3F5EA6 #607EC3

Accessibility & contrast

On white

9.34
#2E457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E457A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E457A#FFFFFF#000000##FFFFFF
##2E457A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7C
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e457a;
/* rgb */ color: rgb(46, 69, 122);
/* oklch */ color: oklch(40.0% 0.094 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e78a1',
    500: '#2e457a',
    950: '#000000',
  },
}
SCSS
$custom: #2e457a;
$custom-light: #6e78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e457a",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 221.842,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.09408,
    "h": 264.8
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#2E457A
secondary
#AA925A
accent
#AE53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2E457A

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

Preview Lab → · Contrast checker → · Palette generator →

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