#2C2C8E#2C2C8E

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

Color values

HEX#2C2C8E
RGBrgb(44, 44, 142)
HSLhsl(240, 53%, 36%)
HSVhsv(240, 69%, 56%)
CMYKcmyk(69%, 69%, 0%, 44.3%)
CIE-LABlab(24.61, 32.75, -54.16)
CIE-LCHlch(24.61, 63.29, 301.16°)
OKLaboklab(36.37% 0.0144 -0.1564)
OKLCHoklch(36.37% 0.157 275.3)
XYZxyz(6.8203, 4.2892, 26.0544)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C8E #8E8E2C
analogous
#2C5D8E #2C2C8E #5D2C8E
triadic
#2C2C8E #8E2C2C #2C8E2C
tetradic
#2C2C8E #8E2C5D #8E8E2C #2C8E5D
square
#2C2C8E #8E2C5D #8E8E2C #2C8E5D
split-complementary
#2C2C8E #8E5D2C #5D8E2C
monochromatic
#0F0F31 #1E1E5F #2C2C8E #3A3ABD #6565CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2C8E#FFFFFF#000000##FFFFFF
##2C2C8E1.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)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2c8e;
/* rgb */ color: rgb(44, 44, 142);
/* oklch */ color: oklch(36.4% 0.157 275.3);
Tailwind
colors: {
  custom: {
    50: '#7366b0',
    500: '#2c2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c8e;
$custom-light: #7366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c8e",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.15704,
    "h": 275.3
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#2C2C8E
secondary
#B6B660
accent
#DC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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