#2C2E8B#2C2E8B

#2C2E8B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.151 H 275.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2C2E8B
RGBrgb(44, 46, 139)
HSLhsl(239, 52%, 36%)
HSVhsv(239, 68%, 55%)
CMYKcmyk(68.3%, 66.9%, 0%, 45.5%)
CIE-LABlab(24.81, 30.40, -51.97)
CIE-LCHlch(24.81, 60.20, 300.32°)
OKLaboklab(36.43% 0.0132 -0.15)
OKLCHoklch(36.43% 0.151 275)
XYZxyz(6.6744, 4.3530, 24.9096)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E8B #8B892C
analogous
#2C5D8B #2C2E8B #592C8B
triadic
#2C2E8B #8B2C2E #2E8B2C
tetradic
#2C2E8B #8B2C5D #8B892C #2C8B59
square
#2C2E8B #8B2C5D #8B892C #2C8B59
split-complementary
#2C2E8B #8B592C #5D8B2C
monochromatic
#0F0F2E #1D1F5D #2C2E8B #3B3DB9 #6466CE

Accessibility & contrast

On white

11.23
#2C2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E8B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E8B#FFFFFF#000000##FFFFFF
##2C2E8B1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2e8b;
/* rgb */ color: rgb(44, 46, 139);
/* oklch */ color: oklch(36.4% 0.151 275.0);
Tailwind
colors: {
  custom: {
    50: '#7267ae',
    500: '#2c2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e8b;
$custom-light: #7267ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e8b",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 238.737,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36426,
    "c": 0.15054,
    "h": 275
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#2C2E8B
secondary
#B4B25F
accent
#D84CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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