#2C2C8F#2C2C8F

#2C2C8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.158 H 275.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2C2C8F
RGBrgb(44, 44, 143)
HSLhsl(240, 53%, 37%)
HSVhsv(240, 69%, 56%)
CMYKcmyk(69.2%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.70, 33.10, -54.62)
CIE-LCHlch(24.70, 63.87, 301.22°)
OKLaboklab(36.46% 0.0143 -0.1577)
OKLCHoklch(36.46% 0.158 275.2)
XYZxyz(6.8957, 4.3194, 26.4516)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C8F #8F8F2C
analogous
#2C5E8F #2C2C8F #5E2C8F
triadic
#2C2C8F #8F2C2C #2C8F2C
tetradic
#2C2C8F #8F2C5E #8F8F2C #2C8F5E
square
#2C2C8F #8F2C5E #8F8F2C #2C8F5E
split-complementary
#2C2C8F #8F5E2C #5E8F2C
monochromatic
#0F0F31 #1E1E60 #2C2C8F #3A3ABE #6666D0

Accessibility & contrast

On white

11.27
#2C2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C8F
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C8F#FFFFFF#000000##FFFFFF
##2C2C8F1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2c8f;
/* rgb */ color: rgb(44, 44, 143);
/* oklch */ color: oklch(36.5% 0.158 275.2);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2c2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c8f;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c8f",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36464,
    "c": 0.15839,
    "h": 275.2
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#2C2C8F
secondary
#B6B661
accent
#DC4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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