#2E4F97#2E4F97

#2E4F97 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.124 H 263.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2E4F97
RGBrgb(46, 79, 151)
HSLhsl(221, 53%, 39%)
HSVhsv(221, 70%, 59%)
CMYKcmyk(69.5%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.81, 13.07, -43.10)
CIE-LCHlch(34.81, 45.03, 286.87°)
OKLaboklab(44.25% -0.0138 -0.1234)
OKLCHoklch(44.25% 0.124 263.6)
XYZxyz(9.5066, 8.4062, 30.3937)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F97 #97762E
analogous
#2E8397 #2E4F97 #412E97
triadic
#2E4F97 #972E4F #4F972E
tetradic
#2E4F97 #972E83 #97762E #2E9741
square
#2E4F97 #972E83 #97762E #2E9741
split-complementary
#2E4F97 #97412E #83972E
monochromatic
#111E39 #203668 #2E4F97 #3E68C4 #6D8DD2

Accessibility & contrast

On white

7.83
#2E4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E4F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F97
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F97#FFFFFF#000000##FFFFFF
##2E4F971.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#144D96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4f97;
/* rgb */ color: rgb(46, 79, 151);
/* oklch */ color: oklch(44.3% 0.124 263.6);
Tailwind
colors: {
  custom: {
    50: '#737fb6',
    500: '#2e4f97',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f97;
$custom-light: #737fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f97",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 221.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.12419,
    "h": 263.6
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#2E4F97
secondary
#BAA067
accent
#AF4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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