#2E4F9D#2E4F9D

#2E4F9D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.133 H 264.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4F9D
RGBrgb(46, 79, 157)
HSLhsl(222, 55%, 40%)
HSVhsv(222, 71%, 62%)
CMYKcmyk(70.7%, 49.7%, 0%, 38.4%)
CIE-LABlab(35.21, 15.34, -46.08)
CIE-LCHlch(35.21, 48.56, 288.41°)
OKLaboklab(44.68% -0.0129 -0.1322)
OKLCHoklch(44.68% 0.133 264.4)
XYZxyz(10.0064, 8.6061, 33.0256)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F9D #9D7C2E
analogous
#2E879D #2E4F9D #442E9D
triadic
#2E4F9D #9D2E4F #4F9D2E
tetradic
#2E4F9D #9D2E87 #9D7C2E #2E9D44
square
#2E4F9D #9D2E87 #9D7C2E #2E9D44
split-complementary
#2E4F9D #9D442E #879D2E
monochromatic
#121F3E #20376E #2E4F9D #4169C7 #708ED5

Accessibility & contrast

On white

7.72
#2E4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E4F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F9D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F9D#FFFFFF#000000##FFFFFF
##2E4F9D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#024E9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4f9d;
/* rgb */ color: rgb(46, 79, 157);
/* oklch */ color: oklch(44.7% 0.133 264.4);
Tailwind
colors: {
  custom: {
    50: '#757fba',
    500: '#2e4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f9d;
$custom-light: #757fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f9d",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 222.162,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44684,
    "c": 0.13281,
    "h": 264.4
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#2E4F9D
secondary
#BDA46A
accent
#B24ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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