#2D2E8B#2D2E8B

#2D2E8B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.150 H 275.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D2E8B
RGBrgb(45, 46, 139)
HSLhsl(239, 51%, 36%)
HSVhsv(239, 68%, 55%)
CMYKcmyk(67.6%, 66.9%, 0%, 45.5%)
CIE-LABlab(24.88, 30.54, -51.85)
CIE-LCHlch(24.88, 60.18, 300.50°)
OKLaboklab(36.49% 0.0145 -0.1496)
OKLCHoklch(36.49% 0.15 275.5)
XYZxyz(6.7179, 4.3754, 24.9116)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E8B #8B8A2D
analogous
#2D5D8B #2D2E8B #5B2D8B
triadic
#2D2E8B #8B2D2E #2E8B2D
tetradic
#2D2E8B #8B2D5D #8B8A2D #2D8B5B
square
#2D2E8B #8B2D5D #8B8A2D #2D8B5B
split-complementary
#2D2E8B #8B5B2D #5D8B2D
monochromatic
#0F0F2F #1E1F5D #2D2E8B #3C3DB9 #6566CD

Accessibility & contrast

On white

11.20
#2D2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E8B
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E8B#FFFFFF#000000##FFFFFF
##2D2E8B1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2e8b;
/* rgb */ color: rgb(45, 46, 139);
/* oklch */ color: oklch(36.5% 0.150 275.5);
Tailwind
colors: {
  custom: {
    50: '#7367ae',
    500: '#2d2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e8b;
$custom-light: #7367ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e8b",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 239.362,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.15028,
    "h": 275.5
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#2D2E8B
secondary
#B4B360
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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