#2C2DA2#2C2DA2

#2C2DA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.182 H 273.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA2
RGBrgb(44, 45, 162)
HSLhsl(239, 57%, 40%)
HSVhsv(239, 73%, 64%)
CMYKcmyk(72.8%, 72.2%, 0%, 36.5%)
CIE-LABlab(26.79, 39.12, -62.83)
CIE-LCHlch(26.79, 74.01, 301.91°)
OKLaboklab(38.54% 0.0109 -0.1817)
OKLCHoklch(38.54% 0.182 273.4)
XYZxyz(8.4965, 5.0200, 34.6966)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA2 #A2A12C
analogous
#2C68A2 #2C2DA2 #662CA2
triadic
#2C2DA2 #A22C2D #2DA22C
tetradic
#2C2DA2 #A22C68 #A2A12C #2CA266
square
#2C2DA2 #A22C68 #A2A12C #2CA266
split-complementary
#2C2DA2 #A2662C #68A22C
monochromatic
#121242 #1F2072 #2C2DA2 #4041CB #7071D8

Accessibility & contrast

On white

10.48
#2C2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2DA2
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA2#FFFFFF#000000##FFFFFF
##2C2DA21.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2da2;
/* rgb */ color: rgb(44, 45, 162);
/* oklch */ color: oklch(38.5% 0.182 273.4);
Tailwind
colors: {
  custom: {
    50: '#7867bf',
    500: '#2c2da2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da2;
$custom-light: #7867bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da2",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 239.492,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.18204,
    "h": 273.4
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#2C2DA2
secondary
#BFBF6A
accent
#DF47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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