#2D2DAF#2D2DAF

#2D2DAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.198 H 272.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2D2DAF
RGBrgb(45, 45, 175)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 69%)
CMYKcmyk(74.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(28.19, 43.63, -68.35)
CIE-LCHlch(28.19, 81.09, 302.55°)
OKLaboklab(39.95% 0.0099 -0.1978)
OKLCHoklch(39.95% 0.198 272.9)
XYZxyz(9.7558, 5.5288, 41.1021)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DAF #AFAF2D
analogous
#2D6EAF #2D2DAF #6E2DAF
triadic
#2D2DAF #AF2D2D #2DAF2D
tetradic
#2D2DAF #AF2D6E #AFAF2D #2DAF6E
square
#2D2DAF #AF2D6E #AFAF2D #2DAF6E
split-complementary
#2D2DAF #AF6E2D #6EAF2D
monochromatic
#14144E #20207E #2D2DAF #4949D0 #7A7ADD

Accessibility & contrast

On white

9.97
#2D2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2DAF
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DAF#FFFFFF#000000##FFFFFF
##2D2DAF1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2daf;
/* rgb */ color: rgb(45, 45, 175);
/* oklch */ color: oklch(39.9% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b68c8',
    500: '#2d2daf',
    950: '#000000',
  },
}
SCSS
$custom: #2d2daf;
$custom-light: #7b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2daf",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.19803,
    "h": 272.9
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#2D2DAF
secondary
#C5C573
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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