#2C4EA0#2C4EA0

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

Color values

HEX#2C4EA0
RGBrgb(44, 78, 160)
HSLhsl(222, 57%, 40%)
HSVhsv(222, 73%, 63%)
CMYKcmyk(72.5%, 51.2%, 0%, 37.3%)
CIE-LABlab(35.05, 16.85, -48.16)
CIE-LCHlch(35.05, 51.02, 289.28°)
OKLaboklab(44.6% -0.0134 -0.1384)
OKLCHoklch(44.6% 0.139 264.5)
XYZxyz(10.1060, 8.5213, 34.3631)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EA0 #A07E2C
analogous
#2C88A0 #2C4EA0 #442CA0
triadic
#2C4EA0 #A02C4E #4EA02C
tetradic
#2C4EA0 #A02C88 #A07E2C #2CA044
square
#2C4EA0 #A02C88 #A07E2C #2CA044
split-complementary
#2C4EA0 #A0442C #88A02C
monochromatic
#121F40 #1F3770 #2C4EA0 #3F68CA #6F8ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4EA0#FFFFFF#000000##FFFFFF
##2C4EA01.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)
#1D58A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4ea0;
/* rgb */ color: rgb(44, 78, 160);
/* oklch */ color: oklch(44.6% 0.139 264.5);
Tailwind
colors: {
  custom: {
    50: '#757fbd',
    500: '#2c4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ea0;
$custom-light: #757fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ea0",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 222.414,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.139,
    "h": 264.5
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#2C4EA0
secondary
#BFA669
accent
#B348E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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