#2C2D8E#2C2D8E

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

Color values

HEX#2C2D8E
RGBrgb(44, 45, 142)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(69%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.84, 32.11, -53.77)
CIE-LCHlch(24.84, 62.63, 300.85°)
OKLaboklab(36.54% 0.0137 -0.1552)
OKLCHoklch(36.54% 0.156 275)
XYZxyz(6.8580, 4.3646, 26.0670)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D8E #8E8D2C
analogous
#2C5E8E #2C2D8E #5C2C8E
triadic
#2C2D8E #8E2C2D #2D8E2C
tetradic
#2C2D8E #8E2C5E #8E8D2C #2C8E5C
square
#2C2D8E #8E2C5E #8E8D2C #2C8E5C
split-complementary
#2C2D8E #8E5C2C #5E8E2C
monochromatic
#0F0F31 #1E1E5F #2C2D8E #3A3CBD #6566CF

Accessibility & contrast

On white

11.21
#2C2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D8E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D8E#FFFFFF#000000##FFFFFF
##2C2D8E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2d8e;
/* rgb */ color: rgb(44, 45, 142);
/* oklch */ color: oklch(36.5% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#7366b0',
    500: '#2c2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d8e;
$custom-light: #7366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d8e",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 239.388,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.15584,
    "h": 275
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2C2D8E
secondary
#B6B560
accent
#DB4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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