#2C4B90#2C4B90

#2C4B90 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.120 H 263.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2C4B90
RGBrgb(44, 75, 144)
HSLhsl(221, 53%, 37%)
HSVhsv(221, 69%, 56%)
CMYKcmyk(69.4%, 47.9%, 0%, 43.5%)
CIE-LABlab(33.09, 12.75, -41.61)
CIE-LCHlch(33.09, 43.52, 287.03°)
OKLaboklab(42.76% -0.0128 -0.1191)
OKLCHoklch(42.76% 0.12 263.9)
XYZxyz(8.5871, 7.5804, 27.3908)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B90 #90712C
analogous
#2C7D90 #2C4B90 #3F2C90
triadic
#2C4B90 #902C4B #4B902C
tetradic
#2C4B90 #902C7D #90712C #2C903F
square
#2C4B90 #902C7D #90712C #2C903F
split-complementary
#2C4B90 #903F2C #7D902C
monochromatic
#0F1A32 #1E3361 #2C4B90 #3A63BF #6687D0

Accessibility & contrast

On white

8.35
#2C4B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C4B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B90
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B90#FFFFFF#000000##FFFFFF
##2C4B901.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#124A8F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4b90;
/* rgb */ color: rgb(44, 75, 144);
/* oklch */ color: oklch(42.8% 0.120 263.9);
Tailwind
colors: {
  custom: {
    50: '#717cb1',
    500: '#2c4b90',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b90;
$custom-light: #717cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b90",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 144
  },
  "hsl": {
    "h": 221.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.11984,
    "h": 263.9
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#2C4B90
secondary
#B79C61
accent
#B04BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2C4B90

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

Preview Lab → · Contrast checker → · Palette generator →

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