#2C2E8E#2C2E8E

#2C2E8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.155 H 274.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2C2E8E
RGBrgb(44, 46, 142)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(69%, 67.6%, 0%, 44.3%)
CIE-LABlab(25.08, 31.47, -53.38)
CIE-LCHlch(25.08, 61.96, 300.52°)
OKLaboklab(36.71% 0.0129 -0.1541)
OKLCHoklch(36.71% 0.155 274.8)
XYZxyz(6.8966, 4.4418, 26.0799)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E8E #8E8C2C
analogous
#2C5F8E #2C2E8E #5B2C8E
triadic
#2C2E8E #8E2C2E #2E8E2C
tetradic
#2C2E8E #8E2C5F #8E8C2C #2C8E5B
square
#2C2E8E #8E2C5F #8E8C2C #2C8E5B
split-complementary
#2C2E8E #8E5B2C #5F8E2C
monochromatic
#0F1031 #1E1F5F #2C2E8E #3A3DBD #6567CF

Accessibility & contrast

On white

11.12
#2C2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E8E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E8E#FFFFFF#000000##FFFFFF
##2C2E8E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2e8e;
/* rgb */ color: rgb(44, 46, 142);
/* oklch */ color: oklch(36.7% 0.155 274.8);
Tailwind
colors: {
  custom: {
    50: '#7367b0',
    500: '#2c2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e8e;
$custom-light: #7367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e8e",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 238.776,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.15463,
    "h": 274.8
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2C2E8E
secondary
#B6B460
accent
#D94CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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