#2D2EAF#2D2EAF

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

Color values

HEX#2D2EAF
RGBrgb(45, 46, 175)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 69%)
CMYKcmyk(74.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.40, 43.05, -68.01)
CIE-LCHlch(28.40, 80.49, 302.33°)
OKLaboklab(40.1% 0.0095 -0.1968)
OKLCHoklch(40.1% 0.197 272.7)
XYZxyz(9.7944, 5.6060, 41.1150)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EAF #AFAE2D
analogous
#2D6FAF #2D2EAF #6D2DAF
triadic
#2D2EAF #AF2D2E #2EAF2D
tetradic
#2D2EAF #AF2D6F #AFAE2D #2DAF6D
square
#2D2EAF #AF2D6F #AFAE2D #2DAF6D
split-complementary
#2D2EAF #AF6D2D #6FAF2D
monochromatic
#14144E #20217E #2D2EAF #494AD0 #7A7ADD

Accessibility & contrast

On white

9.90
#2D2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EAF
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EAF#FFFFFF#000000##FFFFFF
##2D2EAF1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2eaf;
/* rgb */ color: rgb(45, 46, 175);
/* oklch */ color: oklch(40.1% 0.197 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b68c8',
    500: '#2d2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eaf;
$custom-light: #7b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eaf",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 239.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.19704,
    "h": 272.7
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#2D2EAF
secondary
#C5C473
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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