#2C3A91#2C3A91

#2C3A91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.144 H 271.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2C3A91
RGBrgb(44, 58, 145)
HSLhsl(232, 53%, 37%)
HSVhsv(232, 70%, 57%)
CMYKcmyk(69.7%, 60%, 0%, 43.1%)
CIE-LABlab(28.39, 24.63, -49.82)
CIE-LCHlch(28.39, 55.58, 296.31°)
OKLaboklab(39.23% 0.003 -0.1436)
OKLCHoklch(39.23% 0.144 271.2)
XYZxyz(7.6609, 5.6052, 27.4608)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A91 #91832C
analogous
#2C6D91 #2C3A91 #512C91
triadic
#2C3A91 #912C3A #3A912C
tetradic
#2C3A91 #912C6D #91832C #2C9151
square
#2C3A91 #912C6D #91832C #2C9151
split-complementary
#2C3A91 #91512C #6D912C
monochromatic
#101433 #1E2762 #2C3A91 #3A4DC0 #6775D1

Accessibility & contrast

On white

9.90
#2C3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C3A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A91
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A91#FFFFFF#000000##FFFFFF
##2C3A911.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3a91;
/* rgb */ color: rgb(44, 58, 145);
/* oklch */ color: oklch(39.2% 0.144 271.2);
Tailwind
colors: {
  custom: {
    50: '#7270b2',
    500: '#2c3a91',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a91;
$custom-light: #7270b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a91",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 231.683,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.14359,
    "h": 271.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#2C3A91
secondary
#B7AB62
accent
#C94BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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