#2C4E9B#2C4E9B

#2C4E9B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.132 H 263.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2C4E9B
RGBrgb(44, 78, 155)
HSLhsl(222, 56%, 39%)
HSVhsv(222, 72%, 61%)
CMYKcmyk(71.6%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.70, 14.94, -45.70)
CIE-LCHlch(34.70, 48.08, 288.10°)
OKLaboklab(44.22% -0.014 -0.1311)
OKLCHoklch(44.22% 0.132 263.9)
XYZxyz(9.6774, 8.3498, 32.1057)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E9B #9B792C
analogous
#2C869B #2C4E9B #422C9B
triadic
#2C4E9B #9B2C4E #4E9B2C
tetradic
#2C4E9B #9B2C86 #9B792C #2C9B42
square
#2C4E9B #9B2C86 #9B792C #2C9B42
split-complementary
#2C4E9B #9B422C #869B2C
monochromatic
#111E3C #1E366B #2C4E9B #3C67C8 #6C8CD5

Accessibility & contrast

On white

7.86
#2C4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2C4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E9B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E9B#FFFFFF#000000##FFFFFF
##2C4E9B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4e9b;
/* rgb */ color: rgb(44, 78, 155);
/* oklch */ color: oklch(44.2% 0.132 263.9);
Tailwind
colors: {
  custom: {
    50: '#737fb9',
    500: '#2c4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e9b;
$custom-light: #737fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e9b",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 221.622,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44223,
    "c": 0.13189,
    "h": 263.9
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#2C4E9B
secondary
#BCA267
accent
#B149DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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