#2C3C96#2C3C96

#2C3C96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.148 H 270.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2C3C96
RGBrgb(44, 60, 150)
HSLhsl(231, 55%, 38%)
HSVhsv(231, 71%, 59%)
CMYKcmyk(70.7%, 60%, 0%, 41.2%)
CIE-LABlab(29.33, 25.15, -51.36)
CIE-LCHlch(29.33, 57.19, 296.09°)
OKLaboklab(40.06% 0.0014 -0.148)
OKLCHoklch(40.06% 0.148 270.5)
XYZxyz(8.1577, 5.9684, 29.5703)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C96 #96862C
analogous
#2C7196 #2C3C96 #512C96
triadic
#2C3C96 #962C3C #3C962C
tetradic
#2C3C96 #962C71 #96862C #2C9651
square
#2C3C96 #962C71 #96862C #2C9651
split-complementary
#2C3C96 #96512C #71962C
monochromatic
#101637 #1E2967 #2C3C96 #3A4FC5 #6979D3

Accessibility & contrast

On white

9.57
#2C3C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C3C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C96
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C96#FFFFFF#000000##FFFFFF
##2C3C961.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3c96;
/* rgb */ color: rgb(44, 60, 150);
/* oklch */ color: oklch(40.1% 0.148 270.5);
Tailwind
colors: {
  custom: {
    50: '#7371b6',
    500: '#2c3c96',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c96;
$custom-light: #7371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c96",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 230.943,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.14806,
    "h": 270.5
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#2C3C96
secondary
#BAAD64
accent
#C84ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C96

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

Preview Lab → · Contrast checker → · Palette generator →

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