#2C4E9E#2C4E9E

#2C4E9E is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.136 H 264.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2C4E9E
RGBrgb(44, 78, 158)
HSLhsl(222, 56%, 40%)
HSVhsv(222, 72%, 62%)
CMYKcmyk(72.2%, 50.6%, 0%, 38%)
CIE-LABlab(34.91, 16.09, -47.18)
CIE-LCHlch(34.91, 49.85, 288.83°)
OKLaboklab(44.45% -0.0136 -0.1355)
OKLCHoklch(44.45% 0.136 264.3)
XYZxyz(9.9325, 8.4518, 33.4490)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E9E #9E7C2C
analogous
#2C879E #2C4E9E #432C9E
triadic
#2C4E9E #9E2C4E #4E9E2C
tetradic
#2C4E9E #9E2C87 #9E7C2C #2C9E43
square
#2C4E9E #9E2C87 #9E7C2C #2C9E43
split-complementary
#2C4E9E #9E432C #879E2C
monochromatic
#111F3E #1F366E #2C4E9E #3E67C9 #6E8DD7

Accessibility & contrast

On white

7.80
#2C4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C4E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E9E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E9E#FFFFFF#000000##FFFFFF
##2C4E9E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4e9e;
/* rgb */ color: rgb(44, 78, 158);
/* oklch */ color: oklch(44.4% 0.136 264.3);
Tailwind
colors: {
  custom: {
    50: '#747fbb',
    500: '#2c4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e9e;
$custom-light: #747fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e9e",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 222.105,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.13616,
    "h": 264.3
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#2C4E9E
secondary
#BEA468
accent
#B248E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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