#2C3E91#2C3E91

#2C3E91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.138 H 269.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2C3E91
RGBrgb(44, 62, 145)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 70%, 57%)
CMYKcmyk(69.7%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.47, 21.93, -48.07)
CIE-LCHlch(29.47, 52.83, 294.52°)
OKLaboklab(40.04% -0.0004 -0.1383)
OKLCHoklch(40.04% 0.138 269.8)
XYZxyz(7.8704, 6.0243, 27.5306)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E91 #917F2C
analogous
#2C7191 #2C3E91 #4D2C91
triadic
#2C3E91 #912C3E #3E912C
tetradic
#2C3E91 #912C71 #917F2C #2C914D
square
#2C3E91 #912C71 #917F2C #2C914D
split-complementary
#2C3E91 #914D2C #71912C
monochromatic
#101633 #1E2A62 #2C3E91 #3A52C0 #677AD1

Accessibility & contrast

On white

9.52
#2C3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C3E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E91
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E91#FFFFFF#000000##FFFFFF
##2C3E911.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3e91;
/* rgb */ color: rgb(44, 62, 145);
/* oklch */ color: oklch(40.0% 0.138 269.8);
Tailwind
colors: {
  custom: {
    50: '#7273b2',
    500: '#2c3e91',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e91;
$custom-light: #7273b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e91",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 229.307,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.13835,
    "h": 269.8
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#2C3E91
secondary
#B7A862
accent
#C34BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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