#2C33AF#2C33AF

#2C33AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.192 H 271.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2C33AF
RGBrgb(44, 51, 175)
HSLhsl(237, 60%, 43%)
HSVhsv(237, 75%, 69%)
CMYKcmyk(74.9%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.41, 40.00, -66.35)
CIE-LCHlch(29.41, 77.47, 301.08°)
OKLaboklab(40.8% 0.0058 -0.192)
OKLCHoklch(40.8% 0.192 271.7)
XYZxyz(9.9578, 5.9972, 41.1819)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C33AF #AFA82C
analogous
#2C74AF #2C33AF #662CAF
triadic
#2C33AF #AF2C33 #33AF2C
tetradic
#2C33AF #AF2C74 #AFA82C #2CAF66
square
#2C33AF #AF2C74 #AFA82C #2CAF66
split-complementary
#2C33AF #AF662C #74AF2C
monochromatic
#13164D #20257E #2C33AF #474FD1 #787EDD

Accessibility & contrast

On white

9.55
#2C33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C33AF
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C33AF#FFFFFF#000000##FFFFFF
##2C33AF1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c33af;
/* rgb */ color: rgb(44, 51, 175);
/* oklch */ color: oklch(40.8% 0.192 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a6bc8',
    500: '#2c33af',
    950: '#000000',
  },
}
SCSS
$custom: #2c33af;
$custom-light: #7a6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c33af",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 236.794,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.19209,
    "h": 271.7
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#2C33AF
secondary
#C5C172
accent
#DB45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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