#2C4BA1#2C4BA1

#2C4BA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.144 H 265.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2C4BA1
RGBrgb(44, 75, 161)
HSLhsl(224, 57%, 40%)
HSVhsv(224, 73%, 63%)
CMYKcmyk(72.7%, 53.4%, 0%, 36.9%)
CIE-LABlab(34.27, 19.24, -50.01)
CIE-LCHlch(34.27, 53.58, 291.04°)
OKLaboklab(44.03% -0.0106 -0.1439)
OKLCHoklch(44.03% 0.144 265.8)
XYZxyz(9.9856, 8.1398, 34.7562)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BA1 #A1822C
analogous
#2C85A1 #2C4BA1 #482CA1
triadic
#2C4BA1 #A12C4B #4BA12C
tetradic
#2C4BA1 #A12C85 #A1822C #2CA148
square
#2C4BA1 #A12C85 #A1822C #2CA148
split-complementary
#2C4BA1 #A1482C #85A12C
monochromatic
#121E41 #1F3571 #2C4BA1 #4064CB #708BD8

Accessibility & contrast

On white

7.99
#2C4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C4BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BA1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BA1#FFFFFF#000000##FFFFFF
##2C4BA11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4ba1;
/* rgb */ color: rgb(44, 75, 161);
/* oklch */ color: oklch(44.0% 0.144 265.8);
Tailwind
colors: {
  custom: {
    50: '#757cbd',
    500: '#2c4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ba1;
$custom-light: #757cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ba1",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 224.103,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.14425,
    "h": 265.8
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#2C4BA1
secondary
#BFA86A
accent
#B847E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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