#2C2B8E#2C2B8E

#2C2B8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.158 H 275.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2C2B8E
RGBrgb(44, 43, 142)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 56%)
CMYKcmyk(69%, 69.7%, 0%, 44.3%)
CIE-LABlab(24.37, 33.38, -54.54)
CIE-LCHlch(24.37, 63.95, 301.47°)
OKLaboklab(36.2% 0.0151 -0.1575)
OKLCHoklch(36.2% 0.158 275.5)
XYZxyz(6.7835, 4.2156, 26.0422)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B8E #8D8E2B
analogous
#2B5C8E #2C2B8E #5E2B8E
triadic
#2C2B8E #8E2C2B #2B8E2C
tetradic
#2C2B8E #8E2B5C #8D8E2B #2B8E5E
square
#2C2B8E #8E2B5C #8D8E2B #2B8E5E
split-complementary
#2C2B8E #8E5E2B #5C8E2B
monochromatic
#0F0F30 #1D1D5F #2C2B8E #3B39BD #6563D0

Accessibility & contrast

On white

11.39
#2C2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B8E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B8E#FFFFFF#000000##FFFFFF
##2C2B8E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2b8e;
/* rgb */ color: rgb(44, 43, 142);
/* oklch */ color: oklch(36.2% 0.158 275.5);
Tailwind
colors: {
  custom: {
    50: '#7365b0',
    500: '#2c2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b8e;
$custom-light: #7365b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b8e",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 240.606,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36198,
    "c": 0.15823,
    "h": 275.5
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#2C2B8E
secondary
#B5B65F
accent
#DD4BDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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