#2C4EA3#2C4EA3

#2C4EA3 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.143 H 264.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2C4EA3
RGBrgb(44, 78, 163)
HSLhsl(223, 57%, 41%)
HSVhsv(223, 73%, 64%)
CMYKcmyk(73%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.26, 18.00, -49.62)
CIE-LCHlch(35.26, 52.78, 289.94°)
OKLaboklab(44.82% -0.013 -0.1427)
OKLCHoklch(44.82% 0.143 264.8)
XYZxyz(10.3716, 8.6275, 35.7619)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EA3 #A3812C
analogous
#2C89A3 #2C4EA3 #452CA3
triadic
#2C4EA3 #A32C4E #4EA32C
tetradic
#2C4EA3 #A32C89 #A3812C #2CA345
square
#2C4EA3 #A32C89 #A3812C #2CA345
split-complementary
#2C4EA3 #A3452C #89A32C
monochromatic
#122043 #1F3773 #2C4EA3 #4168CC #718ED9

Accessibility & contrast

On white

7.70
#2C4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C4EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EA3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EA3#FFFFFF#000000##FFFFFF
##2C4EA31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4ea3;
/* rgb */ color: rgb(44, 78, 163);
/* oklch */ color: oklch(44.8% 0.143 264.8);
Tailwind
colors: {
  custom: {
    50: '#757fbf',
    500: '#2c4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ea3;
$custom-light: #757fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ea3",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 222.857,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44824,
    "c": 0.14325,
    "h": 264.8
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#2C4EA3
secondary
#C0A86B
accent
#B547E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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