#2C33A2#2C33A2

#2C33A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.175 H 272.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2C33A2
RGBrgb(44, 51, 162)
HSLhsl(236, 57%, 40%)
HSVhsv(236, 73%, 64%)
CMYKcmyk(72.8%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.14, 35.42, -60.60)
CIE-LCHlch(28.14, 70.20, 300.31°)
OKLaboklab(39.51% 0.0073 -0.1752)
OKLCHoklch(39.51% 0.175 272.4)
XYZxyz(8.7419, 5.5109, 34.7784)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33A2 #A29B2C
analogous
#2C6EA2 #2C33A2 #602CA2
triadic
#2C33A2 #A22C33 #33A22C
tetradic
#2C33A2 #A22C6E #A29B2C #2CA260
square
#2C33A2 #A22C6E #A29B2C #2CA260
split-complementary
#2C33A2 #A2602C #6EA22C
monochromatic
#121542 #1F2472 #2C33A2 #4048CB #7076D8

Accessibility & contrast

On white

9.99
#2C33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C33A2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33A2#FFFFFF#000000##FFFFFF
##2C33A21.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c33a2;
/* rgb */ color: rgb(44, 51, 162);
/* oklch */ color: oklch(39.5% 0.175 272.4);
Tailwind
colors: {
  custom: {
    50: '#776bbf',
    500: '#2c33a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c33a2;
$custom-light: #776bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33a2",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 236.441,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.17537,
    "h": 272.4
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#2C33A2
secondary
#BFBA6A
accent
#D747E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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