#2C33A5#2C33A5

#2C33A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.179 H 272.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2C33A5
RGBrgb(44, 51, 165)
HSLhsl(237, 58%, 41%)
HSVhsv(237, 73%, 65%)
CMYKcmyk(73.3%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.43, 36.49, -61.95)
CIE-LCHlch(28.43, 71.90, 300.50°)
OKLaboklab(39.8% 0.007 -0.1791)
OKLCHoklch(39.8% 0.179 272.2)
XYZxyz(9.0118, 5.6188, 36.1996)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33A5 #A59E2C
analogous
#2C6FA5 #2C33A5 #612CA5
triadic
#2C33A5 #A52C33 #33A52C
tetradic
#2C33A5 #A52C6F #A59E2C #2CA561
square
#2C33A5 #A52C6F #A59E2C #2CA561
split-complementary
#2C33A5 #A5612C #6FA52C
monochromatic
#121544 #1F2475 #2C33A5 #424ACD #7278D9

Accessibility & contrast

On white

9.89
#2C33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C33A5
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33A5#FFFFFF#000000##FFFFFF
##2C33A51.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c33a5;
/* rgb */ color: rgb(44, 51, 165);
/* oklch */ color: oklch(39.8% 0.179 272.2);
Tailwind
colors: {
  custom: {
    50: '#786bc1',
    500: '#2c33a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c33a5;
$custom-light: #786bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33a5",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 236.529,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.17929,
    "h": 272.2
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#2C33A5
secondary
#C1BC6C
accent
#D847E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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