#2C3E96#2C3E96

#2C3E96 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.145 H 269.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2C3E96
RGBrgb(44, 62, 150)
HSLhsl(230, 55%, 38%)
HSVhsv(230, 71%, 59%)
CMYKcmyk(70.7%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.87, 23.81, -50.49)
CIE-LCHlch(29.87, 55.82, 295.25°)
OKLaboklab(40.45% -0.0003 -0.1455)
OKLCHoklch(40.45% 0.145 269.9)
XYZxyz(8.2645, 6.1819, 29.6059)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E96 #96842C
analogous
#2C7396 #2C3E96 #4F2C96
triadic
#2C3E96 #962C3E #3E962C
tetradic
#2C3E96 #962C73 #96842C #2C964F
square
#2C3E96 #962C73 #96842C #2C964F
split-complementary
#2C3E96 #964F2C #73962C
monochromatic
#101737 #1E2A67 #2C3E96 #3A52C5 #697BD3

Accessibility & contrast

On white

9.39
#2C3E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C3E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E96
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E96#FFFFFF#000000##FFFFFF
##2C3E961.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3e96;
/* rgb */ color: rgb(44, 62, 150);
/* oklch */ color: oklch(40.5% 0.145 269.9);
Tailwind
colors: {
  custom: {
    50: '#7373b6',
    500: '#2c3e96',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e96;
$custom-light: #7373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e96",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 229.811,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.14547,
    "h": 269.9
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#2C3E96
secondary
#BAAB64
accent
#C54ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E96

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

Preview Lab → · Contrast checker → · Palette generator →

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