#2C4590#2C4590

#2C4590 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.128 H 266.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2C4590
RGBrgb(44, 69, 144)
HSLhsl(225, 53%, 37%)
HSVhsv(225, 69%, 56%)
CMYKcmyk(69.4%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.36, 16.80, -44.40)
CIE-LCHlch(31.36, 47.47, 290.72°)
OKLaboklab(41.43% -0.007 -0.1275)
OKLCHoklch(41.43% 0.128 266.9)
XYZxyz(8.1991, 6.8045, 27.2615)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4590 #90772C
analogous
#2C7790 #2C4590 #452C90
triadic
#2C4590 #902C45 #45902C
tetradic
#2C4590 #902C77 #90772C #2C9045
square
#2C4590 #902C77 #90772C #2C9045
split-complementary
#2C4590 #90452C #77902C
monochromatic
#0F1832 #1E2F61 #2C4590 #3A5BBF #6681D0

Accessibility & contrast

On white

8.89
#2C4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4590
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4590#FFFFFF#000000##FFFFFF
##2C45901.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4590;
/* rgb */ color: rgb(44, 69, 144);
/* oklch */ color: oklch(41.4% 0.128 266.9);
Tailwind
colors: {
  custom: {
    50: '#7178b1',
    500: '#2c4590',
    950: '#000000',
  },
}
SCSS
$custom: #2c4590;
$custom-light: #7178b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4590",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 225,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.12766,
    "h": 266.9
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#2C4590
secondary
#B7A161
accent
#B84BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4590

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

Preview Lab → · Contrast checker → · Palette generator →

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