#2C3291#2C3291

#2C3291 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.154 H 273.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2C3291
RGBrgb(44, 50, 145)
HSLhsl(236, 53%, 37%)
HSVhsv(236, 70%, 57%)
CMYKcmyk(69.7%, 65.5%, 0%, 43.1%)
CIE-LABlab(26.33, 29.95, -53.18)
CIE-LCHlch(26.33, 61.04, 299.39°)
OKLaboklab(37.71% 0.0096 -0.1535)
OKLCHoklch(37.71% 0.154 273.6)
XYZxyz(7.2884, 4.8603, 27.3366)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3291 #918B2C
analogous
#2C6491 #2C3291 #592C91
triadic
#2C3291 #912C32 #32912C
tetradic
#2C3291 #912C64 #918B2C #2C9159
square
#2C3291 #912C64 #918B2C #2C9159
split-complementary
#2C3291 #91592C #64912C
monochromatic
#101233 #1E2262 #2C3291 #3A42C0 #676DD1

Accessibility & contrast

On white

10.65
#2C3291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C3291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3291
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3291#FFFFFF#000000##FFFFFF
##2C32911.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3291;
/* rgb */ color: rgb(44, 50, 145);
/* oklch */ color: oklch(37.7% 0.154 273.6);
Tailwind
colors: {
  custom: {
    50: '#736ab2',
    500: '#2c3291',
    950: '#000000',
  },
}
SCSS
$custom: #2c3291;
$custom-light: #736ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3291",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 236.436,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.1538,
    "h": 273.6
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#2C3291
secondary
#B7B262
accent
#D44BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3291

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

Preview Lab → · Contrast checker → · Palette generator →

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