#2C33A7#2C33A7

#2C33A7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.182 H 272.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2C33A7
RGBrgb(44, 51, 167)
HSLhsl(237, 58%, 41%)
HSVhsv(237, 74%, 65%)
CMYKcmyk(73.7%, 69.5%, 0%, 34.5%)
CIE-LABlab(28.62, 37.20, -62.84)
CIE-LCHlch(28.62, 73.02, 300.62°)
OKLaboklab(40% 0.0068 -0.1817)
OKLCHoklch(40% 0.182 272.1)
XYZxyz(9.1952, 5.6922, 37.1658)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33A7 #A7A02C
analogous
#2C71A7 #2C33A7 #632CA7
triadic
#2C33A7 #A72C33 #33A72C
tetradic
#2C33A7 #A72C71 #A7A02C #2CA763
square
#2C33A7 #A72C71 #A7A02C #2CA763
split-complementary
#2C33A7 #A7632C #71A72C
monochromatic
#121546 #1F2477 #2C33A7 #434BCD #7379DA

Accessibility & contrast

On white

9.82
#2C33A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C33A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C33A7
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33A7#FFFFFF#000000##FFFFFF
##2C33A71.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c33a7;
/* rgb */ color: rgb(44, 51, 167);
/* oklch */ color: oklch(40.0% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#786bc2',
    500: '#2c33a7',
    950: '#000000',
  },
}
SCSS
$custom: #2c33a7;
$custom-light: #786bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33a7",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 236.585,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4,
    "c": 0.18188,
    "h": 272.1
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#2C33A7
secondary
#C2BD6D
accent
#D946E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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