#2E4F9A#2E4F9A

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

Color values

HEX#2E4F9A
RGBrgb(46, 79, 154)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 60%)
CMYKcmyk(70.1%, 48.7%, 0%, 39.6%)
CIE-LABlab(35.01, 14.20, -44.59)
CIE-LCHlch(35.01, 46.80, 287.67°)
OKLaboklab(44.47% -0.0134 -0.1278)
OKLCHoklch(44.47% 0.129 264)
XYZxyz(9.7534, 8.5049, 31.6932)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F9A #9A792E
analogous
#2E859A #2E4F9A #432E9A
triadic
#2E4F9A #9A2E4F #4F9A2E
tetradic
#2E4F9A #9A2E85 #9A792E #2E9A43
square
#2E4F9A #9A2E85 #9A792E #2E9A43
split-complementary
#2E4F9A #9A432E #859A2E
monochromatic
#121F3C #20376B #2E4F9A #3F68C6 #6F8ED4

Accessibility & contrast

On white

7.77
#2E4F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E4F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F9A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F9A#FFFFFF#000000##FFFFFF
##2E4F9A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#0C4E98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4f9a;
/* rgb */ color: rgb(46, 79, 154);
/* oklch */ color: oklch(44.5% 0.129 264.0);
Tailwind
colors: {
  custom: {
    50: '#747fb8',
    500: '#2e4f9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f9a;
$custom-light: #747fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f9a",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 154
  },
  "hsl": {
    "h": 221.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.12852,
    "h": 264
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#2E4F9A
secondary
#BBA269
accent
#B04ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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