#2D2CA0#2D2CA0

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

Color values

HEX#2D2CA0
RGBrgb(45, 44, 160)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 73%, 63%)
CMYKcmyk(71.9%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.44, 39.14, -62.19)
CIE-LCHlch(26.44, 73.48, 302.18°)
OKLaboklab(38.24% 0.013 -0.1798)
OKLCHoklch(38.24% 0.18 274.1)
XYZxyz(8.3259, 4.8965, 33.7572)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA0 #9FA02C
analogous
#2C65A0 #2D2CA0 #672CA0
triadic
#2D2CA0 #A02D2C #2CA02D
tetradic
#2D2CA0 #A02C65 #9FA02C #2CA067
square
#2D2CA0 #A02C65 #9FA02C #2CA067
split-complementary
#2D2CA0 #A0672C #65A02C
monochromatic
#121240 #1F1F70 #2D2CA0 #403FCA #706FD7

Accessibility & contrast

On white

10.61
#2D2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA0
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA0#FFFFFF#000000##FFFFFF
##2D2CA01.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.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: #2d2ca0;
/* rgb */ color: rgb(45, 44, 160);
/* oklch */ color: oklch(38.2% 0.180 274.1);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2d2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca0;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca0",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 240.517,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.18031,
    "h": 274.1
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#2D2CA0
secondary
#BEBF69
accent
#E048DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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