#2C4DA0#2C4DA0

#2C4DA0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.140 H 264.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2C4DA0
RGBrgb(44, 77, 160)
HSLhsl(223, 57%, 40%)
HSVhsv(223, 73%, 63%)
CMYKcmyk(72.5%, 51.9%, 0%, 37.3%)
CIE-LABlab(34.76, 17.52, -48.62)
CIE-LCHlch(34.76, 51.67, 289.82°)
OKLaboklab(44.38% -0.0125 -0.1397)
OKLCHoklch(44.38% 0.14 264.9)
XYZxyz(10.0355, 8.3802, 34.3395)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DA0 #A07F2C
analogous
#2C87A0 #2C4DA0 #452CA0
triadic
#2C4DA0 #A02C4D #4DA02C
tetradic
#2C4DA0 #A02C87 #A07F2C #2CA045
square
#2C4DA0 #A02C87 #A07F2C #2CA045
split-complementary
#2C4DA0 #A0452C #87A02C
monochromatic
#121F40 #1F3670 #2C4DA0 #3F67CA #6F8DD7

Accessibility & contrast

On white

7.85
#2C4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C4DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DA0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DA0#FFFFFF#000000##FFFFFF
##2C4DA01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4da0;
/* rgb */ color: rgb(44, 77, 160);
/* oklch */ color: oklch(44.4% 0.140 264.9);
Tailwind
colors: {
  custom: {
    50: '#757ebd',
    500: '#2c4da0',
    950: '#000000',
  },
}
SCSS
$custom: #2c4da0;
$custom-light: #757ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4da0",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 222.931,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.14029,
    "h": 264.9
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#2C4DA0
secondary
#BFA669
accent
#B548E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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