#2C33A4#2C33A4

#2C33A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.178 H 272.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2C33A4
RGBrgb(44, 51, 164)
HSLhsl(237, 58%, 41%)
HSVhsv(237, 73%, 64%)
CMYKcmyk(73.2%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.33, 36.13, -61.50)
CIE-LCHlch(28.33, 71.33, 300.44°)
OKLaboklab(39.7% 0.0071 -0.1778)
OKLCHoklch(39.7% 0.178 272.3)
XYZxyz(8.9211, 5.5826, 35.7221)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33A4 #A49D2C
analogous
#2C6FA4 #2C33A4 #612CA4
triadic
#2C33A4 #A42C33 #33A42C
tetradic
#2C33A4 #A42C6F #A49D2C #2CA461
square
#2C33A4 #A42C6F #A49D2C #2CA461
split-complementary
#2C33A4 #A4612C #6FA42C
monochromatic
#121543 #1F2474 #2C33A4 #4149CC #7177D9

Accessibility & contrast

On white

9.92
#2C33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C33A4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33A4#FFFFFF#000000##FFFFFF
##2C33A41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c33a4;
/* rgb */ color: rgb(44, 51, 164);
/* oklch */ color: oklch(39.7% 0.178 272.3);
Tailwind
colors: {
  custom: {
    50: '#776bc0',
    500: '#2c33a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c33a4;
$custom-light: #776bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33a4",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 236.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39704,
    "c": 0.17799,
    "h": 272.3
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#2C33A4
secondary
#C0BB6B
accent
#D847E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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