#2C4C91#2C4C91

#2C4C91 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.120 H 263.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2C4C91
RGBrgb(44, 76, 145)
HSLhsl(221, 53%, 37%)
HSVhsv(221, 70%, 57%)
CMYKcmyk(69.7%, 47.6%, 0%, 43.1%)
CIE-LABlab(33.45, 12.46, -41.64)
CIE-LCHlch(33.45, 43.47, 286.65°)
OKLaboklab(43.05% -0.0136 -0.1192)
OKLCHoklch(43.05% 0.12 263.5)
XYZxyz(8.7322, 7.7478, 27.8179)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C91 #91712C
analogous
#2C7F91 #2C4C91 #3F2C91
triadic
#2C4C91 #912C4C #4C912C
tetradic
#2C4C91 #912C7F #91712C #2C913F
square
#2C4C91 #912C7F #91712C #2C913F
split-complementary
#2C4C91 #913F2C #7F912C
monochromatic
#101B33 #1E3362 #2C4C91 #3A65C0 #6788D1

Accessibility & contrast

On white

8.24
#2C4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C91
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C91#FFFFFF#000000##FFFFFF
##2C4C911.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#144A90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4c91;
/* rgb */ color: rgb(44, 76, 145);
/* oklch */ color: oklch(43.1% 0.120 263.5);
Tailwind
colors: {
  custom: {
    50: '#717db2',
    500: '#2c4c91',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c91;
$custom-light: #717db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c91",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 220.99,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43053,
    "c": 0.12001,
    "h": 263.5
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#2C4C91
secondary
#B79C62
accent
#AF4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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