#2C3D96#2C3D96

#2C3D96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.147 H 270.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2C3D96
RGBrgb(44, 61, 150)
HSLhsl(230, 55%, 38%)
HSVhsv(230, 71%, 59%)
CMYKcmyk(70.7%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.60, 24.48, -50.92)
CIE-LCHlch(29.60, 56.50, 295.68°)
OKLaboklab(40.25% 0.0006 -0.1468)
OKLCHoklch(40.25% 0.147 270.2)
XYZxyz(8.2106, 6.0742, 29.5880)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D96 #96852C
analogous
#2C7296 #2C3D96 #502C96
triadic
#2C3D96 #962C3D #3D962C
tetradic
#2C3D96 #962C72 #96852C #2C9650
square
#2C3D96 #962C72 #96852C #2C9650
split-complementary
#2C3D96 #96502C #72962C
monochromatic
#101737 #1E2A67 #2C3D96 #3A50C5 #697AD3

Accessibility & contrast

On white

9.48
#2C3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C3D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D96
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D96#FFFFFF#000000##FFFFFF
##2C3D961.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3d96;
/* rgb */ color: rgb(44, 61, 150);
/* oklch */ color: oklch(40.3% 0.147 270.2);
Tailwind
colors: {
  custom: {
    50: '#7372b6',
    500: '#2c3d96',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d96;
$custom-light: #7372b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d96",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 230.377,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.14677,
    "h": 270.2
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#2C3D96
secondary
#BAAC64
accent
#C64ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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