#2C4DA2#2C4DA2

#2C4DA2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.143 H 265.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2C4DA2
RGBrgb(44, 77, 162)
HSLhsl(223, 57%, 40%)
HSVhsv(223, 73%, 64%)
CMYKcmyk(72.8%, 52.5%, 0%, 36.5%)
CIE-LABlab(34.90, 18.28, -49.59)
CIE-LCHlch(34.90, 52.85, 290.24°)
OKLaboklab(44.53% -0.0123 -0.1426)
OKLCHoklch(44.53% 0.143 265.1)
XYZxyz(10.2119, 8.4508, 35.2684)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DA2 #A2812C
analogous
#2C88A2 #2C4DA2 #462CA2
triadic
#2C4DA2 #A22C4D #4DA22C
tetradic
#2C4DA2 #A22C88 #A2812C #2CA246
square
#2C4DA2 #A22C88 #A2812C #2CA246
split-complementary
#2C4DA2 #A2462C #88A22C
monochromatic
#121F42 #1F3672 #2C4DA2 #4067CB #708DD8

Accessibility & contrast

On white

7.81
#2C4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C4DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DA2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DA2#FFFFFF#000000##FFFFFF
##2C4DA21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4da2;
/* rgb */ color: rgb(44, 77, 162);
/* oklch */ color: oklch(44.5% 0.143 265.1);
Tailwind
colors: {
  custom: {
    50: '#757ebe',
    500: '#2c4da2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4da2;
$custom-light: #757ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4da2",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 223.22,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.14312,
    "h": 265.1
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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