#2C33AB#2C33AB

#2C33AB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.187 H 271.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2C33AB
RGBrgb(44, 51, 171)
HSLhsl(237, 59%, 42%)
HSVhsv(237, 74%, 67%)
CMYKcmyk(74.3%, 70.2%, 0%, 32.9%)
CIE-LABlab(29.01, 38.60, -64.60)
CIE-LCHlch(29.01, 75.26, 300.86°)
OKLaboklab(40.4% 0.0063 -0.1869)
OKLCHoklch(40.4% 0.187 271.9)
XYZxyz(9.5707, 5.8424, 39.1435)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33AB #ABA42C
analogous
#2C73AB #2C33AB #652CAB
triadic
#2C33AB #AB2C33 #33AB2C
tetradic
#2C33AB #AB2C73 #ABA42C #2CAB65
square
#2C33AB #AB2C73 #ABA42C #2CAB65
split-complementary
#2C33AB #AB652C #73AB2C
monochromatic
#13164A #1F247A #2C33AB #454DCF #767BDC

Accessibility & contrast

On white

9.68
#2C33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C33AB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33AB#FFFFFF#000000##FFFFFF
##2C33AB1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c33ab;
/* rgb */ color: rgb(44, 51, 171);
/* oklch */ color: oklch(40.4% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#796bc5',
    500: '#2c33ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c33ab;
$custom-light: #796bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33ab",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 236.693,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.18702,
    "h": 271.9
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#2C33AB
secondary
#C3BF6F
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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