#2C2E89#2C2E89

#2C2E89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.148 H 275.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2C2E89
RGBrgb(44, 46, 137)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 54%)
CMYKcmyk(67.9%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.62, 29.68, -51.02)
CIE-LCHlch(24.62, 59.02, 300.19°)
OKLaboklab(36.24% 0.0134 -0.1472)
OKLCHoklch(36.24% 0.148 275.2)
XYZxyz(6.5296, 4.2950, 24.1470)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E89 #89872C
analogous
#2C5C89 #2C2E89 #592C89
triadic
#2C2E89 #892C2E #2E892C
tetradic
#2C2E89 #892C5C #89872C #2C8959
square
#2C2E89 #892C5C #89872C #2C8959
split-complementary
#2C2E89 #89592C #5C892C
monochromatic
#0E0F2C #1D1E5B #2C2E89 #3B3EB7 #6365CD

Accessibility & contrast

On white

11.30
#2C2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E89
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E89#FFFFFF#000000##FFFFFF
##2C2E891.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2e89;
/* rgb */ color: rgb(44, 46, 137);
/* oklch */ color: oklch(36.2% 0.148 275.2);
Tailwind
colors: {
  custom: {
    50: '#7267ac',
    500: '#2c2e89',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e89;
$custom-light: #7267ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e89",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 238.71,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.14779,
    "h": 275.2
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#2C2E89
secondary
#B3B15E
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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