#2C4DA9#2C4DA9

#2C4DA9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.153 H 265.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4DA9
RGBrgb(44, 77, 169)
HSLhsl(224, 59%, 42%)
HSVhsv(224, 74%, 66%)
CMYKcmyk(74%, 54.4%, 0%, 33.7%)
CIE-LABlab(35.41, 20.95, -52.95)
CIE-LCHlch(35.41, 56.95, 291.59°)
OKLaboklab(45.08% -0.0116 -0.1525)
OKLCHoklch(45.08% 0.153 265.6)
XYZxyz(10.8515, 8.7066, 38.6371)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DA9 #A9882C
analogous
#2C8CA9 #2C4DA9 #4A2CA9
triadic
#2C4DA9 #A92C4D #4DA92C
tetradic
#2C4DA9 #A92C8C #A9882C #2CA94A
square
#2C4DA9 #A92C8C #A9882C #2CA94A
split-complementary
#2C4DA9 #A94A2C #8CA92C
monochromatic
#132148 #1F3778 #2C4DA9 #4468CE #7490DB

Accessibility & contrast

On white

7.66
#2C4DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2C4DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DA9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DA9#FFFFFF#000000##FFFFFF
##2C4DA91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4da9;
/* rgb */ color: rgb(44, 77, 169);
/* oklch */ color: oklch(45.1% 0.153 265.6);
Tailwind
colors: {
  custom: {
    50: '#777ec3',
    500: '#2c4da9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4da9;
$custom-light: #777ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4da9",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 224.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.15292,
    "h": 265.6
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#2C4DA9
secondary
#C3AC6E
accent
#B946E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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