#2C4E90#2C4E90

#2C4E90 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.116 H 262.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2C4E90
RGBrgb(44, 78, 144)
HSLhsl(220, 53%, 37%)
HSVhsv(220, 69%, 56%)
CMYKcmyk(69.4%, 45.8%, 0%, 43.5%)
CIE-LABlab(33.98, 10.74, -40.19)
CIE-LCHlch(33.98, 41.60, 284.96°)
OKLaboklab(43.44% -0.0158 -0.1149)
OKLCHoklch(43.44% 0.116 262.2)
XYZxyz(8.7954, 7.9970, 27.4602)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E90 #906E2C
analogous
#2C8090 #2C4E90 #3C2C90
triadic
#2C4E90 #902C4E #4E902C
tetradic
#2C4E90 #902C80 #906E2C #2C903C
square
#2C4E90 #902C80 #906E2C #2C903C
split-complementary
#2C4E90 #903C2C #80902C
monochromatic
#0F1B32 #1E3561 #2C4E90 #3A67BF #668AD0

Accessibility & contrast

On white

8.08
#2C4E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E90
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E90#FFFFFF#000000##FFFFFF
##2C4E901.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5593
Deuteranopia (green-blind)
#1B4C8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4e90;
/* rgb */ color: rgb(44, 78, 144);
/* oklch */ color: oklch(43.4% 0.116 262.2);
Tailwind
colors: {
  custom: {
    50: '#717fb1',
    500: '#2c4e90',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e90;
$custom-light: #717fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e90",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 219.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.11602,
    "h": 262.2
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#2C4E90
secondary
#B79A61
accent
#AB4BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2C4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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