#2E4B85#2E4B85

#2E4B85 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.103 H 262.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2E4B85
RGBrgb(46, 75, 133)
HSLhsl(220, 49%, 35%)
HSVhsv(220, 65%, 52%)
CMYKcmyk(65.4%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.49, 8.95, -35.81)
CIE-LCHlch(32.49, 36.92, 284.04°)
OKLaboklab(42.1% -0.013 -0.1021)
OKLCHoklch(42.1% 0.103 262.7)
XYZxyz(7.8749, 7.3057, 23.1809)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B85 #85682E
analogous
#2E7685 #2E4B85 #3D2E85
triadic
#2E4B85 #852E4B #4B852E
tetradic
#2E4B85 #852E76 #85682E #2E853D
square
#2E4B85 #852E76 #85682E #2E853D
split-complementary
#2E4B85 #853D2E #76852E
monochromatic
#0F182A #1E3158 #2E4B85 #3E65B2 #6486C9

Accessibility & contrast

On white

8.53
#2E4B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E4B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B85
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B85#FFFFFF#000000##FFFFFF
##2E4B851.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315187
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4b85;
/* rgb */ color: rgb(46, 75, 133);
/* oklch */ color: oklch(42.1% 0.103 262.7);
Tailwind
colors: {
  custom: {
    50: '#707ca9',
    500: '#2e4b85',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b85;
$custom-light: #707ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b85",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 220,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.1029,
    "h": 262.7
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#2E4B85
secondary
#B0955F
accent
#AB50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4B85

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

Preview Lab → · Contrast checker → · Palette generator →

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