#2E4575#2E4575

#2E4575 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.086 H 263.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2E4575
RGBrgb(46, 69, 117)
HSLhsl(221, 44%, 32%)
HSVhsv(221, 61%, 46%)
CMYKcmyk(60.7%, 41%, 0%, 54.1%)
CIE-LABlab(29.72, 7.05, -30.27)
CIE-LCHlch(29.72, 31.07, 283.11°)
OKLaboklab(39.64% -0.0096 -0.0859)
OKLCHoklch(39.64% 0.086 263.6)
XYZxyz(6.4646, 6.1209, 17.6670)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4575 #755E2E
analogous
#2E6975 #2E4575 #3B2E75
triadic
#2E4575 #752E45 #45752E
tetradic
#2E4575 #752E69 #755E2E #2E753B
square
#2E4575 #752E69 #755E2E #2E753B
split-complementary
#2E4575 #753B2E #69752E
monochromatic
#0B111D #1D2B49 #2E4575 #3F5FA1 #5E7DC0

Accessibility & contrast

On white

9.44
#2E4575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4575
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4575#FFFFFF#000000##FFFFFF
##2E45751.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A77
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4575;
/* rgb */ color: rgb(46, 69, 117);
/* oklch */ color: oklch(39.6% 0.086 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d789d',
    500: '#2e4575',
    950: '#000000',
  },
}
SCSS
$custom: #2e4575;
$custom-light: #6d789d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4575",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 117
  },
  "hsl": {
    "h": 220.563,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3964,
    "c": 0.08643,
    "h": 263.6
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#2E4575
secondary
#A68D59
accent
#AA54D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E4575

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

Preview Lab → · Contrast checker → · Palette generator →

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