#2C2DA1#2C2DA1

#2C2DA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.181 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA1
RGBrgb(44, 45, 161)
HSLhsl(239, 57%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(72.7%, 72%, 0%, 36.9%)
CIE-LABlab(26.69, 38.77, -62.39)
CIE-LCHlch(26.69, 73.45, 301.86°)
OKLaboklab(38.43% 0.0111 -0.1804)
OKLCHoklch(38.43% 0.181 273.5)
XYZxyz(8.4080, 4.9846, 34.2303)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA1 #A1A02C
analogous
#2C68A1 #2C2DA1 #652CA1
triadic
#2C2DA1 #A12C2D #2DA12C
tetradic
#2C2DA1 #A12C68 #A1A02C #2CA165
square
#2C2DA1 #A12C68 #A1A02C #2CA165
split-complementary
#2C2DA1 #A1652C #68A12C
monochromatic
#121241 #1F2071 #2C2DA1 #4041CB #7070D8

Accessibility & contrast

On white

10.52
#2C2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA1#FFFFFF#000000##FFFFFF
##2C2DA11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2da1;
/* rgb */ color: rgb(44, 45, 161);
/* oklch */ color: oklch(38.4% 0.181 273.5);
Tailwind
colors: {
  custom: {
    50: '#7767be',
    500: '#2c2da1',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da1;
$custom-light: #7767be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da1",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 239.487,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.18077,
    "h": 273.5
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#2C2DA1
secondary
#BFBE6A
accent
#DF47E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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