#2E4E85#2E4E85

#2E4E85 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.099 H 260.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2E4E85
RGBrgb(46, 78, 133)
HSLhsl(218, 49%, 35%)
HSVhsv(218, 65%, 52%)
CMYKcmyk(65.4%, 41.4%, 0%, 47.8%)
CIE-LABlab(33.40, 6.96, -34.37)
CIE-LCHlch(33.40, 35.07, 281.44°)
OKLaboklab(42.8% -0.0163 -0.0978)
OKLCHoklch(42.8% 0.099 260.5)
XYZxyz(8.0832, 7.7223, 23.2503)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E85 #85652E
analogous
#2E7985 #2E4E85 #3A2E85
triadic
#2E4E85 #852E4E #4E852E
tetradic
#2E4E85 #852E79 #85652E #2E853A
square
#2E4E85 #852E79 #85652E #2E853A
split-complementary
#2E4E85 #853A2E #79852E
monochromatic
#0F192A #1E3358 #2E4E85 #3E69B2 #6489C9

Accessibility & contrast

On white

8.25
#2E4E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E4E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E85
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E85#FFFFFF#000000##FFFFFF
##2E4E851.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4e85;
/* rgb */ color: rgb(46, 78, 133);
/* oklch */ color: oklch(42.8% 0.099 260.5);
Tailwind
colors: {
  custom: {
    50: '#707fa9',
    500: '#2e4e85',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e85;
$custom-light: #707fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e85",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 217.931,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.09916,
    "h": 260.5
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#2E4E85
secondary
#B0925F
accent
#A650D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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