#2E4385#2E4385

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

Color values

HEX#2E4385
RGBrgb(46, 67, 133)
HSLhsl(226, 49%, 35%)
HSVhsv(226, 65%, 52%)
CMYKcmyk(65.4%, 49.6%, 0%, 47.8%)
CIE-LABlab(30.13, 14.35, -39.60)
CIE-LCHlch(30.13, 42.12, 289.92°)
OKLaboklab(40.28% -0.0044 -0.1133)
OKLCHoklch(40.28% 0.113 267.8)
XYZxyz(7.3661, 6.2880, 23.0113)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4385 #85702E
analogous
#2E6F85 #2E4385 #442E85
triadic
#2E4385 #852E43 #43852E
tetradic
#2E4385 #852E6F #85702E #2E8544
square
#2E4385 #852E6F #85702E #2E8544
split-complementary
#2E4385 #85442E #6F852E
monochromatic
#0F152A #1E2C58 #2E4385 #3E5AB2 #647CC9

Accessibility & contrast

On white

9.30
#2E4385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E4385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4385
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4385#FFFFFF#000000##FFFFFF
##2E43851.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#0F4384
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4385;
/* rgb */ color: rgb(46, 67, 133);
/* oklch */ color: oklch(40.3% 0.113 267.8);
Tailwind
colors: {
  custom: {
    50: '#7076a9',
    500: '#2e4385',
    950: '#000000',
  },
}
SCSS
$custom: #2e4385;
$custom-light: #7076a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4385",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 225.517,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.1134,
    "h": 267.8
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#2E4385
secondary
#B09C5F
accent
#B750D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4385

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

Preview Lab → · Contrast checker → · Palette generator →

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