#2C4C92#2C4C92

#2C4C92 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.121 H 263.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4C92
RGBrgb(44, 76, 146)
HSLhsl(221, 54%, 37%)
HSVhsv(221, 70%, 57%)
CMYKcmyk(69.9%, 47.9%, 0%, 42.7%)
CIE-LABlab(33.52, 12.84, -42.15)
CIE-LCHlch(33.52, 44.06, 286.94°)
OKLaboklab(43.13% -0.0135 -0.1207)
OKLCHoklch(43.13% 0.121 263.6)
XYZxyz(8.8096, 7.7788, 28.2257)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C92 #92722C
analogous
#2C7F92 #2C4C92 #3F2C92
triadic
#2C4C92 #922C4C #4C922C
tetradic
#2C4C92 #922C7F #92722C #2C923F
square
#2C4C92 #922C7F #92722C #2C923F
split-complementary
#2C4C92 #923F2C #7F922C
monochromatic
#101B34 #1E3463 #2C4C92 #3A64C1 #6788D1

Accessibility & contrast

On white

8.22
#2C4C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C4C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C92
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C92#FFFFFF#000000##FFFFFF
##2C4C921.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#124A91
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4c92;
/* rgb */ color: rgb(44, 76, 146);
/* oklch */ color: oklch(43.1% 0.121 263.6);
Tailwind
colors: {
  custom: {
    50: '#727db2',
    500: '#2c4c92',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c92;
$custom-light: #727db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c92",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 221.176,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.12147,
    "h": 263.6
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4C92

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

Preview Lab → · Contrast checker → · Palette generator →

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