#2C3C91#2C3C91

#2C3C91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.141 H 270.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2C3C91
RGBrgb(44, 60, 145)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 70%, 57%)
CMYKcmyk(69.7%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.93, 23.28, -48.95)
CIE-LCHlch(28.93, 54.20, 295.44°)
OKLaboklab(39.63% 0.0013 -0.141)
OKLCHoklch(39.63% 0.141 270.5)
XYZxyz(7.7637, 5.8108, 27.4950)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C91 #91812C
analogous
#2C6F91 #2C3C91 #4F2C91
triadic
#2C3C91 #912C3C #3C912C
tetradic
#2C3C91 #912C6F #91812C #2C914F
square
#2C3C91 #912C6F #91812C #2C914F
split-complementary
#2C3C91 #914F2C #6F912C
monochromatic
#101533 #1E2962 #2C3C91 #3A4FC0 #6777D1

Accessibility & contrast

On white

9.71
#2C3C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C3C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C91
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C91#FFFFFF#000000##FFFFFF
##2C3C911.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3c91;
/* rgb */ color: rgb(44, 60, 145);
/* oklch */ color: oklch(39.6% 0.141 270.5);
Tailwind
colors: {
  custom: {
    50: '#7271b2',
    500: '#2c3c91',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c91;
$custom-light: #7271b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c91",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 230.495,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.14098,
    "h": 270.5
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#2C3C91
secondary
#B7AA62
accent
#C64BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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