#2C2DA5#2C2DA5

#2C2DA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.186 H 273.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA5
RGBrgb(44, 45, 165)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 73%, 65%)
CMYKcmyk(73.3%, 72.7%, 0%, 35.3%)
CIE-LABlab(27.10, 40.15, -64.14)
CIE-LCHlch(27.10, 75.67, 302.04°)
OKLaboklab(38.84% 0.0104 -0.1855)
OKLCHoklch(38.84% 0.186 273.2)
XYZxyz(8.7664, 5.1280, 36.1178)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA5 #A5A42C
analogous
#2C69A5 #2C2DA5 #672CA5
triadic
#2C2DA5 #A52C2D #2DA52C
tetradic
#2C2DA5 #A52C69 #A5A42C #2CA567
square
#2C2DA5 #A52C69 #A5A42C #2CA567
split-complementary
#2C2DA5 #A5672C #69A52C
monochromatic
#121344 #1F2075 #2C2DA5 #4243CD #7273D9

Accessibility & contrast

On white

10.37
#2C2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C2DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA5
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA5#FFFFFF#000000##FFFFFF
##2C2DA51.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2da5;
/* rgb */ color: rgb(44, 45, 165);
/* oklch */ color: oklch(38.8% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#7867c1',
    500: '#2c2da5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da5;
$custom-light: #7867c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da5",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 239.504,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38844,
    "c": 0.18584,
    "h": 273.2
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#2C2DA5
secondary
#C1C06C
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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