#2C2E8D#2C2E8D

#2C2E8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.153 H 274.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2C2E8D
RGBrgb(44, 46, 141)
HSLhsl(239, 52%, 36%)
HSVhsv(239, 69%, 55%)
CMYKcmyk(68.8%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.99, 31.11, -52.91)
CIE-LCHlch(24.99, 61.38, 300.46°)
OKLaboklab(36.62% 0.013 -0.1527)
OKLCHoklch(36.62% 0.153 274.9)
XYZxyz(6.8218, 4.4119, 25.6862)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E8D #8D8B2C
analogous
#2C5F8D #2C2E8D #5B2C8D
triadic
#2C2E8D #8D2C2E #2E8D2C
tetradic
#2C2E8D #8D2C5F #8D8B2C #2C8D5B
square
#2C2E8D #8D2C5F #8D8B2C #2C8D5B
split-complementary
#2C2E8D #8D5B2C #5F8D2C
monochromatic
#0F1030 #1D1F5E #2C2E8D #3B3DBC #6567CF

Accessibility & contrast

On white

11.15
#2C2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E8D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E8D#FFFFFF#000000##FFFFFF
##2C2E8D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2e8d;
/* rgb */ color: rgb(44, 46, 141);
/* oklch */ color: oklch(36.6% 0.153 274.9);
Tailwind
colors: {
  custom: {
    50: '#7367af',
    500: '#2c2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e8d;
$custom-light: #7367af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e8d",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 238.763,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36616,
    "c": 0.15327,
    "h": 274.9
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#2C2E8D
secondary
#B5B360
accent
#D94CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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