#2E488F#2E488F

#2E488F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.122 H 266.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2E488F
RGBrgb(46, 72, 143)
HSLhsl(224, 51%, 37%)
HSVhsv(224, 68%, 56%)
CMYKcmyk(67.8%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.25, 14.73, -42.34)
CIE-LCHlch(32.25, 44.83, 289.18°)
OKLaboklab(42.12% -0.0081 -0.1213)
OKLCHoklch(42.12% 0.122 266.2)
XYZxyz(8.4003, 7.1979, 26.9279)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E488F #8F752E
analogous
#2E788F #2E488F #452E8F
triadic
#2E488F #8F2E48 #488F2E
tetradic
#2E488F #8F2E78 #8F752E #2E8F45
square
#2E488F #8F2E78 #8F752E #2E8F45
split-complementary
#2E488F #8F452E #788F2E
monochromatic
#101932 #1F3161 #2E488F #3D5FBD #6984CF

Accessibility & contrast

On white

8.61
#2E488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E488F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E488F#FFFFFF#000000##FFFFFF
##2E488F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#0B488E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e488f;
/* rgb */ color: rgb(46, 72, 143);
/* oklch */ color: oklch(42.1% 0.122 266.2);
Tailwind
colors: {
  custom: {
    50: '#727ab0',
    500: '#2e488f',
    950: '#000000',
  },
}
SCSS
$custom: #2e488f;
$custom-light: #727ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e488f",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 223.918,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.12158,
    "h": 266.2
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#2E488F
secondary
#B6A063
accent
#B54DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E488F

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

Preview Lab → · Contrast checker → · Palette generator →

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