#2E4288#2E4288

#2E4288 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.119 H 268.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2E4288
RGBrgb(46, 66, 136)
HSLhsl(227, 49%, 36%)
HSVhsv(227, 66%, 53%)
CMYKcmyk(66.2%, 51.5%, 0%, 46.7%)
CIE-LABlab(30.04, 16.15, -41.59)
CIE-LCHlch(30.04, 44.62, 291.23°)
OKLaboklab(40.29% -0.0029 -0.1192)
OKLCHoklch(40.29% 0.119 268.6)
XYZxyz(7.5173, 6.2542, 24.0988)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4288 #88742E
analogous
#2E6F88 #2E4288 #472E88
triadic
#2E4288 #882E42 #42882E
tetradic
#2E4288 #882E6F #88742E #2E8847
square
#2E4288 #882E6F #88742E #2E8847
split-complementary
#2E4288 #88472E #6F882E
monochromatic
#0F162D #1F2C5A #2E4288 #3D58B6 #657CCB

Accessibility & contrast

On white

9.33
#2E4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E4288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4288
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4288#FFFFFF#000000##FFFFFF
##2E42881.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#034387
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4288;
/* rgb */ color: rgb(46, 66, 136);
/* oklch */ color: oklch(40.3% 0.119 268.6);
Tailwind
colors: {
  custom: {
    50: '#7176ab',
    500: '#2e4288',
    950: '#000000',
  },
}
SCSS
$custom: #2e4288;
$custom-light: #7176ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4288",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 226.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.11923,
    "h": 268.6
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#2E4288
secondary
#B2A060
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4288

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

Preview Lab → · Contrast checker → · Palette generator →

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