#2E4497#2E4497

#2E4497 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.138 H 268.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2E4497
RGBrgb(46, 68, 151)
HSLhsl(227, 53%, 39%)
HSVhsv(227, 70%, 59%)
CMYKcmyk(69.5%, 55%, 0%, 40.8%)
CIE-LABlab(31.69, 20.45, -48.14)
CIE-LCHlch(31.69, 52.30, 293.01°)
OKLaboklab(41.87% -0.0035 -0.1384)
OKLCHoklch(41.87% 0.138 268.6)
XYZxyz(8.7778, 6.9486, 30.1508)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4497 #97812E
analogous
#2E7897 #2E4497 #4D2E97
triadic
#2E4497 #972E44 #44972E
tetradic
#2E4497 #972E78 #97812E #2E974D
square
#2E4497 #972E78 #97812E #2E974D
split-complementary
#2E4497 #974D2E #78972E
monochromatic
#111A39 #202F68 #2E4497 #3E5AC4 #6D82D2

Accessibility & contrast

On white

8.79
#2E4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4497
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4497#FFFFFF#000000##FFFFFF
##2E44971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4497;
/* rgb */ color: rgb(46, 68, 151);
/* oklch */ color: oklch(41.9% 0.138 268.6);
Tailwind
colors: {
  custom: {
    50: '#7477b6',
    500: '#2e4497',
    950: '#000000',
  },
}
SCSS
$custom: #2e4497;
$custom-light: #7477b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4497",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 227.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.13846,
    "h": 268.6
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#2E4497
secondary
#BAA867
accent
#BE4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4497

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

Preview Lab → · Contrast checker → · Palette generator →

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