#2C4EA9#2C4EA9

#2C4EA9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.152 H 265.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2C4EA9
RGBrgb(44, 78, 169)
HSLhsl(224, 59%, 42%)
HSVhsv(224, 74%, 66%)
CMYKcmyk(74%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.69, 20.29, -52.50)
CIE-LCHlch(35.69, 56.29, 291.13°)
OKLaboklab(45.29% -0.0124 -0.1511)
OKLCHoklch(45.29% 0.152 265.3)
XYZxyz(10.9220, 8.8477, 38.6606)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EA9 #A9872C
analogous
#2C8DA9 #2C4EA9 #492CA9
triadic
#2C4EA9 #A92C4E #4EA92C
tetradic
#2C4EA9 #A92C8D #A9872C #2CA949
square
#2C4EA9 #A92C8D #A9872C #2CA949
split-complementary
#2C4EA9 #A9492C #8DA92C
monochromatic
#132148 #1F3878 #2C4EA9 #446ACE #7490DB

Accessibility & contrast

On white

7.58
#2C4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EA9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EA9#FFFFFF#000000##FFFFFF
##2C4EA91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095AAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4ea9;
/* rgb */ color: rgb(44, 78, 169);
/* oklch */ color: oklch(45.3% 0.152 265.3);
Tailwind
colors: {
  custom: {
    50: '#777fc3',
    500: '#2c4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ea9;
$custom-light: #777fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ea9",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 223.68,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.15166,
    "h": 265.3
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#2C4EA9
secondary
#C3AC6E
accent
#B746E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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