#2C4B91#2C4B91

#2C4B91 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.121 H 264.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2C4B91
RGBrgb(44, 75, 145)
HSLhsl(222, 53%, 37%)
HSVhsv(222, 70%, 57%)
CMYKcmyk(69.7%, 48.3%, 0%, 43.1%)
CIE-LABlab(33.16, 13.13, -42.11)
CIE-LCHlch(33.16, 44.11, 287.31°)
OKLaboklab(42.83% -0.0126 -0.1206)
OKLCHoklch(42.83% 0.121 264)
XYZxyz(8.6638, 7.6111, 27.7951)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B91 #91722C
analogous
#2C7E91 #2C4B91 #402C91
triadic
#2C4B91 #912C4B #4B912C
tetradic
#2C4B91 #912C7E #91722C #2C9140
square
#2C4B91 #912C7E #91722C #2C9140
split-complementary
#2C4B91 #91402C #7E912C
monochromatic
#101A33 #1E3362 #2C4B91 #3A63C0 #6787D1

Accessibility & contrast

On white

8.33
#2C4B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4B91
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B91#FFFFFF#000000##FFFFFF
##2C4B911.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#104A90
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4b91;
/* rgb */ color: rgb(44, 75, 145);
/* oklch */ color: oklch(42.8% 0.121 264.0);
Tailwind
colors: {
  custom: {
    50: '#717cb2',
    500: '#2c4b91',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b91;
$custom-light: #717cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b91",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 221.584,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.12129,
    "h": 264
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#2C4B91
secondary
#B79D62
accent
#B04BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4B91

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

Preview Lab → · Contrast checker → · Palette generator →

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