#2E4097#2E4097

#2E4097 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.144 H 270.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E4097
RGBrgb(46, 64, 151)
HSLhsl(230, 53%, 39%)
HSVhsv(230, 70%, 59%)
CMYKcmyk(69.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.60, 23.14, -49.91)
CIE-LCHlch(30.60, 55.01, 294.87°)
OKLaboklab(41.05% 0.0001 -0.1437)
OKLCHoklch(41.05% 0.144 270)
XYZxyz(8.5441, 6.4812, 30.0729)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4097 #97852E
analogous
#2E7497 #2E4097 #502E97
triadic
#2E4097 #972E40 #40972E
tetradic
#2E4097 #972E74 #97852E #2E9750
square
#2E4097 #972E74 #97852E #2E9750
split-complementary
#2E4097 #97502E #74972E
monochromatic
#111839 #202C68 #2E4097 #3E55C4 #6D7ED2

Accessibility & contrast

On white

9.14
#2E4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4097
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4097#FFFFFF#000000##FFFFFF
##2E40971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4097;
/* rgb */ color: rgb(46, 64, 151);
/* oklch */ color: oklch(41.1% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#7474b6',
    500: '#2e4097',
    950: '#000000',
  },
}
SCSS
$custom: #2e4097;
$custom-light: #7474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4097",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 229.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.1437,
    "h": 270
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#2E4097
secondary
#BAAC67
accent
#C44BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4097

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

Preview Lab → · Contrast checker → · Palette generator →

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