#2E4DB9#2E4DB9

#2E4DB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.174 H 267.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2E4DB9
RGBrgb(46, 77, 185)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 73%)
CMYKcmyk(75.1%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.72, 27.24, -60.29)
CIE-LCHlch(36.72, 66.16, 294.32°)
OKLaboklab(46.48% -0.009 -0.174)
OKLCHoklch(46.48% 0.174 267)
XYZxyz(12.5345, 9.3900, 47.0414)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DB9 #B99A2E
analogous
#2E92B9 #2E4DB9 #552EB9
triadic
#2E4DB9 #B92E4D #4DB92E
tetradic
#2E4DB9 #B92E92 #B99A2E #2EB955
square
#2E4DB9 #B92E92 #B99A2E #2EB955
split-complementary
#2E4DB9 #B9552E #92B92E
monochromatic
#162457 #223988 #2E4DB9 #516ED4 #8297E0

Accessibility & contrast

On white

7.30
#2E4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E4DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DB9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DB9#FFFFFF#000000##FFFFFF
##2E4DB91.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4db9;
/* rgb */ color: rgb(46, 77, 185);
/* oklch */ color: oklch(46.5% 0.174 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7ecf',
    500: '#2e4db9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4db9;
$custom-light: #7b7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4db9",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 226.619,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.17425,
    "h": 267
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#2E4DB9
secondary
#C9B77A
accent
#C044E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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