#2C2DA8#2C2DA8

#2C2DA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.190 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA8
RGBrgb(44, 45, 168)
HSLhsl(240, 58%, 42%)
HSVhsv(240, 74%, 66%)
CMYKcmyk(73.8%, 73.2%, 0%, 34.1%)
CIE-LABlab(27.40, 41.17, -65.45)
CIE-LCHlch(27.40, 77.32, 302.17°)
OKLaboklab(39.16% 0.01 -0.1893)
OKLCHoklch(39.16% 0.19 273)
XYZxyz(9.0426, 5.2385, 37.5728)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA8 #A8A72C
analogous
#2C6BA8 #2C2DA8 #692CA8
triadic
#2C2DA8 #A82C2D #2DA82C
tetradic
#2C2DA8 #A82C6B #A8A72C #2CA869
square
#2C2DA8 #A82C6B #A8A72C #2CA869
split-complementary
#2C2DA8 #A8692C #6BA82C
monochromatic
#131347 #1F2078 #2C2DA8 #4344CE #7475DB

Accessibility & contrast

On white

10.25
#2C2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C2DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA8
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA8#FFFFFF#000000##FFFFFF
##2C2DA81.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2da8;
/* rgb */ color: rgb(44, 45, 168);
/* oklch */ color: oklch(39.2% 0.190 273.0);
Tailwind
colors: {
  custom: {
    50: '#7967c3',
    500: '#2c2da8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da8;
$custom-light: #7967c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da8",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 239.516,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.18961,
    "h": 273
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#2C2DA8
secondary
#C2C16E
accent
#E046E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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