#2C2DAF#2C2DAF

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

Color values

HEX#2C2DAF
RGBrgb(44, 45, 175)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(74.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(28.13, 43.54, -68.45)
CIE-LCHlch(28.13, 81.12, 302.46°)
OKLaboklab(39.89% 0.0088 -0.1981)
OKLCHoklch(39.89% 0.198 272.5)
XYZxyz(9.7124, 5.5064, 41.1001)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DAF #AFAE2C
analogous
#2C6EAF #2C2DAF #6C2CAF
triadic
#2C2DAF #AF2C2D #2DAF2C
tetradic
#2C2DAF #AF2C6E #AFAE2C #2CAF6C
square
#2C2DAF #AF2C6E #AFAE2C #2CAF6C
split-complementary
#2C2DAF #AF6C2C #6EAF2C
monochromatic
#13144D #20207E #2C2DAF #4748D1 #7879DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2DAF#FFFFFF#000000##FFFFFF
##2C2DAF1.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)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2daf;
/* rgb */ color: rgb(44, 45, 175);
/* oklch */ color: oklch(39.9% 0.198 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b68c8',
    500: '#2c2daf',
    950: '#000000',
  },
}
SCSS
$custom: #2c2daf;
$custom-light: #7b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2daf",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 239.542,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.19829,
    "h": 272.5
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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