#2D2E8A#2D2E8A

#2D2E8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.149 H 275.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2D2E8A
RGBrgb(45, 46, 138)
HSLhsl(239, 51%, 36%)
HSVhsv(239, 67%, 54%)
CMYKcmyk(67.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.78, 30.18, -51.38)
CIE-LCHlch(24.78, 59.59, 300.43°)
OKLaboklab(36.4% 0.0146 -0.1482)
OKLCHoklch(36.4% 0.149 275.6)
XYZxyz(6.6451, 4.3463, 24.5286)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E8A #8A892D
analogous
#2D5C8A #2D2E8A #5A2D8A
triadic
#2D2E8A #8A2D2E #2E8A2D
tetradic
#2D2E8A #8A2D5C #8A892D #2D8A5A
square
#2D2E8A #8A2D5C #8A892D #2D8A5A
split-complementary
#2D2E8A #8A5A2D #5C8A2D
monochromatic
#0F0F2E #1E1F5C #2D2E8A #3C3DB8 #6566CD

Accessibility & contrast

On white

11.23
#2D2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E8A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E8A#FFFFFF#000000##FFFFFF
##2D2E8A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2e8a;
/* rgb */ color: rgb(45, 46, 138);
/* oklch */ color: oklch(36.4% 0.149 275.6);
Tailwind
colors: {
  custom: {
    50: '#7267ad',
    500: '#2d2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e8a;
$custom-light: #7267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e8a",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 239.355,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.14891,
    "h": 275.6
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#2D2E8A
secondary
#B3B260
accent
#D94DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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