#2C4AA1#2C4AA1

#2C4AA1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.146 H 266.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA1
RGBrgb(44, 74, 161)
HSLhsl(225, 57%, 40%)
HSVhsv(225, 73%, 63%)
CMYKcmyk(72.7%, 54%, 0%, 36.9%)
CIE-LABlab(33.99, 19.91, -50.46)
CIE-LCHlch(33.99, 54.24, 291.53°)
OKLaboklab(43.82% -0.0098 -0.1452)
OKLCHoklch(43.82% 0.146 266.1)
XYZxyz(9.9183, 8.0052, 34.7338)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA1 #A1832C
analogous
#2C85A1 #2C4AA1 #482CA1
triadic
#2C4AA1 #A12C4A #4AA12C
tetradic
#2C4AA1 #A12C85 #A1832C #2CA148
square
#2C4AA1 #A12C85 #A1832C #2CA148
split-complementary
#2C4AA1 #A1482C #85A12C
monochromatic
#121E41 #1F3471 #2C4AA1 #4063CB #708AD8

Accessibility & contrast

On white

8.07
#2C4AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C4AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA1#FFFFFF#000000##FFFFFF
##2C4AA11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4aa1;
/* rgb */ color: rgb(44, 74, 161);
/* oklch */ color: oklch(43.8% 0.146 266.1);
Tailwind
colors: {
  custom: {
    50: '#757cbd',
    500: '#2c4aa1',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa1;
$custom-light: #757cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa1",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 224.615,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.14553,
    "h": 266.1
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#2C4AA1
secondary
#BFA96A
accent
#B947E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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