#2D2EA8#2D2EA8

#2D2EA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.188 H 273.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2D2EA8
RGBrgb(45, 46, 168)
HSLhsl(240, 58%, 42%)
HSVhsv(240, 73%, 66%)
CMYKcmyk(73.2%, 72.6%, 0%, 34.1%)
CIE-LABlab(27.68, 40.68, -65.00)
CIE-LCHlch(27.68, 76.68, 302.04°)
OKLaboklab(39.37% 0.0106 -0.188)
OKLCHoklch(39.37% 0.188 273.2)
XYZxyz(9.1247, 5.3381, 37.5877)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EA8 #A8A72D
analogous
#2D6CA8 #2D2EA8 #6A2DA8
triadic
#2D2EA8 #A82D2E #2EA82D
tetradic
#2D2EA8 #A82D6C #A8A72D #2DA86A
square
#2D2EA8 #A82D6C #A8A72D #2DA86A
split-complementary
#2D2EA8 #A86A2D #6CA82D
monochromatic
#131447 #202178 #2D2EA8 #4546CD #7576DA

Accessibility & contrast

On white

10.16
#2D2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EA8
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EA8#FFFFFF#000000##FFFFFF
##2D2EA81.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d2ea8;
/* rgb */ color: rgb(45, 46, 168);
/* oklch */ color: oklch(39.4% 0.188 273.2);
Tailwind
colors: {
  custom: {
    50: '#7968c3',
    500: '#2d2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ea8;
$custom-light: #7968c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ea8",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 239.512,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.18831,
    "h": 273.2
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#2D2EA8
secondary
#C2C16F
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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