#2D2B8E#2D2B8E

#2D2B8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.158 H 276.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2D2B8E
RGBrgb(45, 43, 142)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 56%)
CMYKcmyk(68.3%, 69.7%, 0%, 44.3%)
CIE-LABlab(24.44, 33.52, -54.42)
CIE-LCHlch(24.44, 63.91, 301.63°)
OKLaboklab(36.27% 0.0164 -0.1571)
OKLCHoklch(36.27% 0.158 276)
XYZxyz(6.8269, 4.2380, 26.0442)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B8E #8C8E2B
analogous
#2B5B8E #2D2B8E #5F2B8E
triadic
#2D2B8E #8E2D2B #2B8E2D
tetradic
#2D2B8E #8E2B5B #8C8E2B #2B8E5F
square
#2D2B8E #8E2B5B #8C8E2B #2B8E5F
split-complementary
#2D2B8E #8E5F2B #5B8E2B
monochromatic
#0F0F30 #1E1D5F #2D2B8E #3C39BD #6663D0

Accessibility & contrast

On white

11.36
#2D2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B8E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B8E#FFFFFF#000000##FFFFFF
##2D2B8E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2b8e;
/* rgb */ color: rgb(45, 43, 142);
/* oklch */ color: oklch(36.3% 0.158 276.0);
Tailwind
colors: {
  custom: {
    50: '#7465b0',
    500: '#2d2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b8e;
$custom-light: #7465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b8e",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 241.212,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36268,
    "c": 0.15798,
    "h": 276
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#2D2B8E
secondary
#B4B65F
accent
#DD4BDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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