#2C2DB0#2C2DB0

#2C2DB0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.200 H 272.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2C2DB0
RGBrgb(44, 45, 176)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(75%, 74.4%, 0%, 31%)
CIE-LABlab(28.24, 43.87, -68.88)
CIE-LCHlch(28.24, 81.66, 302.50°)
OKLaboklab(40% 0.0086 -0.1993)
OKLCHoklch(40% 0.2 272.5)
XYZxyz(9.8109, 5.5458, 41.6193)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB0 #B0AF2C
analogous
#2C6FB0 #2C2DB0 #6D2CB0
triadic
#2C2DB0 #B02C2D #2DB02C
tetradic
#2C2DB0 #B02C6F #B0AF2C #2CB06D
square
#2C2DB0 #B02C6F #B0AF2C #2CB06D
split-complementary
#2C2DB0 #B06D2C #6FB02C
monochromatic
#14144E #20207F #2C2DB0 #4849D1 #797ADD

Accessibility & contrast

On white

9.96
#2C2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DB0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB0#FFFFFF#000000##FFFFFF
##2C2DB01.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2db0;
/* rgb */ color: rgb(44, 45, 176);
/* oklch */ color: oklch(40.0% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b68c9',
    500: '#2c2db0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db0;
$custom-light: #7b68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db0",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 239.545,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.19952,
    "h": 272.5
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#2C2DB0
secondary
#C6C572
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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