#2C2E96#2C2E96

#2C2E96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.165 H 274.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2C2E96
RGBrgb(44, 46, 150)
HSLhsl(239, 55%, 38%)
HSVhsv(239, 71%, 59%)
CMYKcmyk(70.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.84, 34.32, -57.08)
CIE-LCHlch(25.84, 66.60, 301.02°)
OKLaboklab(37.49% 0.012 -0.1649)
OKLCHoklch(37.49% 0.165 274.2)
XYZxyz(7.5189, 4.6908, 29.3574)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E96 #96942C
analogous
#2C6396 #2C2E96 #5F2C96
triadic
#2C2E96 #962C2E #2E962C
tetradic
#2C2E96 #962C63 #96942C #2C965F
square
#2C2E96 #962C63 #96942C #2C965F
split-complementary
#2C2E96 #965F2C #63962C
monochromatic
#101137 #1E1F67 #2C2E96 #3A3DC5 #696BD3

Accessibility & contrast

On white

10.83
#2C2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C2E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E96
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E96#FFFFFF#000000##FFFFFF
##2C2E961.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2e96;
/* rgb */ color: rgb(44, 46, 150);
/* oklch */ color: oklch(37.5% 0.165 274.2);
Tailwind
colors: {
  custom: {
    50: '#7567b6',
    500: '#2c2e96',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e96;
$custom-light: #7567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e96",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 238.868,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37489,
    "c": 0.16536,
    "h": 274.2
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#2C2E96
secondary
#BAB864
accent
#DB4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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