#2D2EB0#2D2EB0

#2D2EB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.198 H 272.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2D2EB0
RGBrgb(45, 46, 176)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 69%)
CMYKcmyk(74.4%, 73.9%, 0%, 31%)
CIE-LABlab(28.50, 43.39, -68.44)
CIE-LCHlch(28.50, 81.04, 302.37°)
OKLaboklab(40.2% 0.0093 -0.198)
OKLCHoklch(40.2% 0.198 272.7)
XYZxyz(9.8930, 5.6454, 41.6342)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EB0 #B0AF2D
analogous
#2D6FB0 #2D2EB0 #6D2DB0
triadic
#2D2EB0 #B02D2E #2EB02D
tetradic
#2D2EB0 #B02D6F #B0AF2D #2DB06D
square
#2D2EB0 #B02D6F #B0AF2D #2DB06D
split-complementary
#2D2EB0 #B06D2D #6FB02D
monochromatic
#14154F #21217F #2D2EB0 #4A4BD1 #7A7BDD

Accessibility & contrast

On white

9.86
#2D2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EB0
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EB0#FFFFFF#000000##FFFFFF
##2D2EB01.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2eb0;
/* rgb */ color: rgb(45, 46, 176);
/* oklch */ color: oklch(40.2% 0.198 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b68c9',
    500: '#2d2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eb0;
$custom-light: #7b68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eb0",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 239.542,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.402,
    "c": 0.19827,
    "h": 272.7
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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