#2C3D91#2C3D91

#2C3D91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.140 H 270.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2C3D91
RGBrgb(44, 61, 145)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 70%, 57%)
CMYKcmyk(69.7%, 57.9%, 0%, 43.1%)
CIE-LABlab(29.20, 22.60, -48.51)
CIE-LCHlch(29.20, 53.52, 294.98°)
OKLaboklab(39.83% 0.0004 -0.1397)
OKLCHoklch(39.83% 0.14 270.2)
XYZxyz(7.8165, 5.9165, 27.5126)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D91 #91802C
analogous
#2C7091 #2C3D91 #4E2C91
triadic
#2C3D91 #912C3D #3D912C
tetradic
#2C3D91 #912C70 #91802C #2C914E
square
#2C3D91 #912C70 #91802C #2C914E
split-complementary
#2C3D91 #914E2C #70912C
monochromatic
#101533 #1E2962 #2C3D91 #3A51C0 #6778D1

Accessibility & contrast

On white

9.62
#2C3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C3D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D91
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D91#FFFFFF#000000##FFFFFF
##2C3D911.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3d91;
/* rgb */ color: rgb(44, 61, 145);
/* oklch */ color: oklch(39.8% 0.140 270.2);
Tailwind
colors: {
  custom: {
    50: '#7272b2',
    500: '#2c3d91',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d91;
$custom-light: #7272b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d91",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 229.901,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.13966,
    "h": 270.2
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#2C3D91
secondary
#B7A962
accent
#C44BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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