#2C3F91#2C3F91

#2C3F91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.137 H 269.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2C3F91
RGBrgb(44, 63, 145)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 70%, 57%)
CMYKcmyk(69.7%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.75, 21.25, -47.62)
CIE-LCHlch(29.75, 52.15, 294.05°)
OKLaboklab(40.24% -0.0013 -0.137)
OKLCHoklch(40.24% 0.137 269.4)
XYZxyz(7.9253, 6.1341, 27.5489)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F91 #917E2C
analogous
#2C7291 #2C3F91 #4C2C91
triadic
#2C3F91 #912C3F #3F912C
tetradic
#2C3F91 #912C72 #917E2C #2C914C
square
#2C3F91 #912C72 #917E2C #2C914C
split-complementary
#2C3F91 #914C2C #72912C
monochromatic
#101633 #1E2B62 #2C3F91 #3A53C0 #677BD1

Accessibility & contrast

On white

9.43
#2C3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F91
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F91#FFFFFF#000000##FFFFFF
##2C3F911.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3f91;
/* rgb */ color: rgb(44, 63, 145);
/* oklch */ color: oklch(40.2% 0.137 269.4);
Tailwind
colors: {
  custom: {
    50: '#7273b2',
    500: '#2c3f91',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f91;
$custom-light: #7273b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f91",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 228.713,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.13703,
    "h": 269.4
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#2C3F91
secondary
#B7A762
accent
#C14BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3F91

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

Preview Lab → · Contrast checker → · Palette generator →

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