#2C4091#2C4091

#2C4091 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.136 H 269.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2C4091
RGBrgb(44, 64, 145)
HSLhsl(228, 53%, 37%)
HSVhsv(228, 70%, 57%)
CMYKcmyk(69.7%, 55.9%, 0%, 43.1%)
CIE-LABlab(30.02, 20.57, -47.17)
CIE-LCHlch(30.02, 51.46, 293.56°)
OKLaboklab(40.45% -0.0022 -0.1357)
OKLCHoklch(40.45% 0.136 269.1)
XYZxyz(7.9812, 6.2458, 27.5675)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4091 #917D2C
analogous
#2C7391 #2C4091 #4B2C91
triadic
#2C4091 #912C40 #40912C
tetradic
#2C4091 #912C73 #917D2C #2C914B
square
#2C4091 #912C73 #917D2C #2C914B
split-complementary
#2C4091 #914B2C #73912C
monochromatic
#101733 #1E2B62 #2C4091 #3A55C0 #677CD1

Accessibility & contrast

On white

9.34
#2C4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4091
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4091#FFFFFF#000000##FFFFFF
##2C40911.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4091;
/* rgb */ color: rgb(44, 64, 145);
/* oklch */ color: oklch(40.4% 0.136 269.1);
Tailwind
colors: {
  custom: {
    50: '#7274b2',
    500: '#2c4091',
    950: '#000000',
  },
}
SCSS
$custom: #2c4091;
$custom-light: #7274b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4091",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 228.119,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.13571,
    "h": 269.1
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#2C4091
secondary
#B7A662
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4091

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

Preview Lab → · Contrast checker → · Palette generator →

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