#2E4F9B#2E4F9B

#2E4F9B is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.130 H 264.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2E4F9B
RGBrgb(46, 79, 155)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 61%)
CMYKcmyk(70.3%, 49%, 0%, 39.2%)
CIE-LABlab(35.08, 14.58, -45.09)
CIE-LCHlch(35.08, 47.39, 287.92°)
OKLaboklab(44.54% -0.0132 -0.1293)
OKLCHoklch(44.54% 0.13 264.2)
XYZxyz(9.8370, 8.5384, 32.1336)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F9B #9B7A2E
analogous
#2E869B #2E4F9B #442E9B
triadic
#2E4F9B #9B2E4F #4F9B2E
tetradic
#2E4F9B #9B2E86 #9B7A2E #2E9B44
square
#2E4F9B #9B2E86 #9B7A2E #2E9B44
split-complementary
#2E4F9B #9B442E #869B2E
monochromatic
#121F3D #20376C #2E4F9B #4069C6 #6F8ED4

Accessibility & contrast

On white

7.76
#2E4F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E4F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F9B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F9B#FFFFFF#000000##FFFFFF
##2E4F9B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#094E99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4f9b;
/* rgb */ color: rgb(46, 79, 155);
/* oklch */ color: oklch(44.5% 0.130 264.2);
Tailwind
colors: {
  custom: {
    50: '#747fb9',
    500: '#2e4f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f9b;
$custom-light: #747fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f9b",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 221.835,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44538,
    "c": 0.12995,
    "h": 264.2
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#2E4F9B
secondary
#BCA369
accent
#B14ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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