#2D29A0#2D29A0

#2D29A0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.183 H 274.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2D29A0
RGBrgb(45, 41, 160)
HSLhsl(242, 59%, 39%)
HSVhsv(242, 74%, 63%)
CMYKcmyk(71.9%, 74.4%, 0%, 37.3%)
CIE-LABlab(25.81, 40.90, -63.24)
CIE-LCHlch(25.81, 75.31, 302.89°)
OKLaboklab(37.79% 0.0147 -0.1829)
OKLCHoklch(37.79% 0.183 274.6)
XYZxyz(8.2182, 4.6810, 33.7213)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A0 #9CA029
analogous
#2961A0 #2D29A0 #6929A0
triadic
#2D29A0 #A02D29 #29A02D
tetradic
#2D29A0 #A02961 #9CA029 #29A069
square
#2D29A0 #A02961 #9CA029 #29A069
split-complementary
#2D29A0 #A06929 #61A029
monochromatic
#12103F #1F1D6F #2D29A0 #3F3ACC #6E6AD9

Accessibility & contrast

On white

10.84
#2D29A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D29A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29A0
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A0#FFFFFF#000000##FFFFFF
##2D29A01.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d29a0;
/* rgb */ color: rgb(45, 41, 160);
/* oklch */ color: oklch(37.8% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#7864bd',
    500: '#2d29a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a0;
$custom-light: #7864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a0",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 242.017,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37787,
    "c": 0.18345,
    "h": 274.6
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#2D29A0
secondary
#BCBF65
accent
#E245DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D29A0

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

Preview Lab → · Contrast checker → · Palette generator →

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