#2C3096#2C3096

#2C3096 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.163 H 273.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2C3096
RGBrgb(44, 48, 150)
HSLhsl(238, 55%, 38%)
HSVhsv(238, 71%, 59%)
CMYKcmyk(70.7%, 68%, 0%, 41.2%)
CIE-LABlab(26.31, 33.05, -56.31)
CIE-LCHlch(26.31, 65.29, 300.41°)
OKLaboklab(37.83% 0.0106 -0.1627)
OKLCHoklch(37.83% 0.163 273.7)
XYZxyz(7.5988, 4.8507, 29.3841)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3096 #96922C
analogous
#2C6596 #2C3096 #5D2C96
triadic
#2C3096 #962C30 #30962C
tetradic
#2C3096 #962C65 #96922C #2C965D
square
#2C3096 #962C65 #96922C #2C965D
split-complementary
#2C3096 #965D2C #65962C
monochromatic
#101237 #1E2167 #2C3096 #3A3FC5 #696DD3

Accessibility & contrast

On white

10.66
#2C3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C3096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3096
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3096#FFFFFF#000000##FFFFFF
##2C30961.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3096;
/* rgb */ color: rgb(44, 48, 150);
/* oklch */ color: oklch(37.8% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#7469b6',
    500: '#2c3096',
    950: '#000000',
  },
}
SCSS
$custom: #2c3096;
$custom-light: #7469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3096",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 237.736,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37829,
    "c": 0.16301,
    "h": 273.7
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#2C3096
secondary
#BAB764
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3096

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

Preview Lab → · Contrast checker → · Palette generator →

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