#2E4875#2E4875

#2E4875 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.083 H 260.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2E4875
RGBrgb(46, 72, 117)
HSLhsl(218, 44%, 32%)
HSVhsv(218, 61%, 46%)
CMYKcmyk(60.7%, 38.5%, 0%, 54.1%)
CIE-LABlab(30.64, 5.04, -28.80)
CIE-LCHlch(30.64, 29.24, 279.93°)
OKLaboklab(40.36% -0.0133 -0.0816)
OKLCHoklch(40.36% 0.083 260.8)
XYZxyz(6.6539, 6.4994, 17.7300)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4875 #755B2E
analogous
#2E6C75 #2E4875 #382E75
triadic
#2E4875 #752E48 #48752E
tetradic
#2E4875 #752E6C #755B2E #2E7538
square
#2E4875 #752E6C #755B2E #2E7538
split-complementary
#2E4875 #75382E #6C752E
monochromatic
#0B121D #1D2D49 #2E4875 #3F63A1 #5E82C0

Accessibility & contrast

On white

9.13
#2E4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4875
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4875#FFFFFF#000000##FFFFFF
##2E48751.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C77
Deuteranopia (green-blind)
#2C4574
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4875;
/* rgb */ color: rgb(46, 72, 117);
/* oklch */ color: oklch(40.4% 0.083 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d7a9d',
    500: '#2e4875',
    950: '#000000',
  },
}
SCSS
$custom: #2e4875;
$custom-light: #6d7a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4875",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 218.028,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.08265,
    "h": 260.8
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#2E4875
secondary
#A68A59
accent
#A554D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4875

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

Preview Lab → · Contrast checker → · Palette generator →

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