#2D2CA1#2D2CA1

#2D2CA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.182 H 274.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA1
RGBrgb(45, 44, 161)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 73%, 63%)
CMYKcmyk(72%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.54, 39.48, -62.63)
CIE-LCHlch(26.54, 74.04, 302.22°)
OKLaboklab(38.34% 0.0129 -0.1811)
OKLCHoklch(38.34% 0.182 274.1)
XYZxyz(8.4138, 4.9316, 34.2198)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA1 #A0A12C
analogous
#2C65A1 #2D2CA1 #682CA1
triadic
#2D2CA1 #A12D2C #2CA12D
tetradic
#2D2CA1 #A12C65 #A0A12C #2CA168
square
#2D2CA1 #A12C65 #A0A12C #2CA168
split-complementary
#2D2CA1 #A1682C #65A12C
monochromatic
#121241 #201F71 #2D2CA1 #4140CB #7070D8

Accessibility & contrast

On white

10.57
#2D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2CA1
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA1#FFFFFF#000000##FFFFFF
##2D2CA11.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2ca1;
/* rgb */ color: rgb(45, 44, 161);
/* oklch */ color: oklch(38.3% 0.182 274.1);
Tailwind
colors: {
  custom: {
    50: '#7866be',
    500: '#2d2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca1;
$custom-light: #7866be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca1",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 240.513,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.18158,
    "h": 274.1
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#2D2CA1
secondary
#BEBF6A
accent
#E047DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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