#2C4990#2C4990

#2C4990 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.122 H 264.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2C4990
RGBrgb(44, 73, 144)
HSLhsl(223, 53%, 37%)
HSVhsv(223, 69%, 56%)
CMYKcmyk(69.4%, 49.3%, 0%, 43.5%)
CIE-LABlab(32.51, 14.09, -42.55)
CIE-LCHlch(32.51, 44.82, 288.33°)
OKLaboklab(42.31% -0.0108 -0.1219)
OKLCHoklch(42.31% 0.122 264.9)
XYZxyz(8.4535, 7.3133, 27.3463)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4990 #90732C
analogous
#2C7B90 #2C4990 #412C90
triadic
#2C4990 #902C49 #49902C
tetradic
#2C4990 #902C7B #90732C #2C9041
square
#2C4990 #902C7B #90732C #2C9041
split-complementary
#2C4990 #90412C #7B902C
monochromatic
#0F1932 #1E3161 #2C4990 #3A61BF #6685D0

Accessibility & contrast

On white

8.53
#2C4990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C4990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4990
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4990#FFFFFF#000000##FFFFFF
##2C49901.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235193
Deuteranopia (green-blind)
#0A488F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4990;
/* rgb */ color: rgb(44, 73, 144);
/* oklch */ color: oklch(42.3% 0.122 264.9);
Tailwind
colors: {
  custom: {
    50: '#717bb1',
    500: '#2c4990',
    950: '#000000',
  },
}
SCSS
$custom: #2c4990;
$custom-light: #717bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4990",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 222.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.12242,
    "h": 264.9
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#2C4990
secondary
#B79E61
accent
#B24BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4990

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

Preview Lab → · Contrast checker → · Palette generator →

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