#2C2BB1#2C2BB1

#2C2BB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.203 H 272.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2C2BB1
RGBrgb(44, 43, 177)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 69%)
CMYKcmyk(75.1%, 75.7%, 0%, 30.6%)
CIE-LABlab(27.94, 45.33, -69.96)
CIE-LCHlch(27.94, 83.36, 302.94°)
OKLaboklab(39.82% 0.0093 -0.2025)
OKLCHoklch(39.82% 0.203 272.6)
XYZxyz(9.8357, 5.4365, 42.1174)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BB1 #B0B12B
analogous
#2B6DB1 #2C2BB1 #6F2BB1
triadic
#2C2BB1 #B12C2B #2BB12C
tetradic
#2C2BB1 #B12B6D #B0B12B #2BB16F
square
#2C2BB1 #B12B6D #B0B12B #2BB16F
split-complementary
#2C2BB1 #B16F2B #6DB12B
monochromatic
#14134F #201F80 #2C2BB1 #4847D2 #7978DE

Accessibility & contrast

On white

10.06
#2C2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BB1
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BB1#FFFFFF#000000##FFFFFF
##2C2BB11.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2bb1;
/* rgb */ color: rgb(44, 43, 177);
/* oklch */ color: oklch(39.8% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b66ca',
    500: '#2c2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bb1;
$custom-light: #7b66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bb1",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 240.448,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39821,
    "c": 0.20268,
    "h": 272.6
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#2C2BB1
secondary
#C6C672
accent
#E444E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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