#2C33A6#2C33A6

#2C33A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.181 H 272.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2C33A6
RGBrgb(44, 51, 166)
HSLhsl(237, 58%, 41%)
HSVhsv(237, 73%, 65%)
CMYKcmyk(73.5%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.53, 36.84, -62.39)
CIE-LCHlch(28.53, 72.46, 300.56°)
OKLaboklab(39.9% 0.0069 -0.1804)
OKLCHoklch(39.9% 0.181 272.2)
XYZxyz(9.1031, 5.6554, 36.6808)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33A6 #A69F2C
analogous
#2C70A6 #2C33A6 #622CA6
triadic
#2C33A6 #A62C33 #33A62C
tetradic
#2C33A6 #A62C70 #A69F2C #2CA662
square
#2C33A6 #A62C70 #A69F2C #2CA662
split-complementary
#2C33A6 #A6622C #70A62C
monochromatic
#121545 #1F2476 #2C33A6 #424ACD #7379DA

Accessibility & contrast

On white

9.85
#2C33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C33A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C33A6
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33A6#FFFFFF#000000##FFFFFF
##2C33A61.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c33a6;
/* rgb */ color: rgb(44, 51, 166);
/* oklch */ color: oklch(39.9% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#786bc1',
    500: '#2c33a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c33a6;
$custom-light: #786bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33a6",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 236.557,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.18058,
    "h": 272.2
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#2C33A6
secondary
#C1BC6D
accent
#D846E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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