#2C2DA3#2C2DA3

#2C2DA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.183 H 273.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA3
RGBrgb(44, 45, 163)
HSLhsl(239, 57%, 41%)
HSVhsv(239, 73%, 64%)
CMYKcmyk(73%, 72.4%, 0%, 36.1%)
CIE-LABlab(26.89, 39.46, -63.27)
CIE-LCHlch(26.89, 74.57, 301.95°)
OKLaboklab(38.64% 0.0108 -0.183)
OKLCHoklch(38.64% 0.183 273.4)
XYZxyz(8.5857, 5.0557, 35.1666)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA3 #A3A22C
analogous
#2C68A3 #2C2DA3 #662CA3
triadic
#2C2DA3 #A32C2D #2DA32C
tetradic
#2C2DA3 #A32C68 #A3A22C #2CA366
square
#2C2DA3 #A32C68 #A3A22C #2CA366
split-complementary
#2C2DA3 #A3662C #68A32C
monochromatic
#121243 #1F2073 #2C2DA3 #4142CC #7172D9

Accessibility & contrast

On white

10.44
#2C2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C2DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA3
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA3#FFFFFF#000000##FFFFFF
##2C2DA31.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2da3;
/* rgb */ color: rgb(44, 45, 163);
/* oklch */ color: oklch(38.6% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#7867bf',
    500: '#2c2da3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da3;
$custom-light: #7867bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da3",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 239.496,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.18332,
    "h": 273.4
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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