#2C2DA0#2C2DA0

#2C2DA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.179 H 273.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA0
RGBrgb(44, 45, 160)
HSLhsl(239, 57%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(72.5%, 71.9%, 0%, 37.3%)
CIE-LABlab(26.59, 38.43, -61.95)
CIE-LCHlch(26.59, 72.90, 301.81°)
OKLaboklab(38.33% 0.0112 -0.1791)
OKLCHoklch(38.33% 0.179 273.6)
XYZxyz(8.3201, 4.9495, 33.7678)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA0 #A09F2C
analogous
#2C67A0 #2C2DA0 #652CA0
triadic
#2C2DA0 #A02C2D #2DA02C
tetradic
#2C2DA0 #A02C67 #A09F2C #2CA065
square
#2C2DA0 #A02C67 #A09F2C #2CA065
split-complementary
#2C2DA0 #A0652C #67A02C
monochromatic
#121240 #1F1F70 #2C2DA0 #3F40CA #6F70D7

Accessibility & contrast

On white

10.55
#2C2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA0
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA0#FFFFFF#000000##FFFFFF
##2C2DA01.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2da0;
/* rgb */ color: rgb(44, 45, 160);
/* oklch */ color: oklch(38.3% 0.179 273.6);
Tailwind
colors: {
  custom: {
    50: '#7767bd',
    500: '#2c2da0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da0;
$custom-light: #7767bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da0",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 239.483,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.3833,
    "c": 0.17949,
    "h": 273.6
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#2C2DA0
secondary
#BFBE69
accent
#DF48E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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