#2C4D90#2C4D90

#2C4D90 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.117 H 262.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2C4D90
RGBrgb(44, 77, 144)
HSLhsl(220, 53%, 37%)
HSVhsv(220, 69%, 56%)
CMYKcmyk(69.4%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.68, 11.41, -40.67)
CIE-LCHlch(33.68, 42.24, 285.67°)
OKLaboklab(43.21% -0.0148 -0.1163)
OKLCHoklch(43.21% 0.117 262.8)
XYZxyz(8.7248, 7.8560, 27.4367)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D90 #906F2C
analogous
#2C7F90 #2C4D90 #3D2C90
triadic
#2C4D90 #902C4D #4D902C
tetradic
#2C4D90 #902C7F #906F2C #2C903D
square
#2C4D90 #902C7F #906F2C #2C903D
split-complementary
#2C4D90 #903D2C #7F902C
monochromatic
#0F1B32 #1E3461 #2C4D90 #3A66BF #6689D0

Accessibility & contrast

On white

8.17
#2C4D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2C4D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D90
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D90#FFFFFF#000000##FFFFFF
##2C4D901.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4d90;
/* rgb */ color: rgb(44, 77, 144);
/* oklch */ color: oklch(43.2% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#717eb1',
    500: '#2c4d90',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d90;
$custom-light: #717eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d90",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 220.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43208,
    "c": 0.11728,
    "h": 262.8
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#2C4D90
secondary
#B79A61
accent
#AD4BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2C4D90

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

Preview Lab → · Contrast checker → · Palette generator →

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