#2D2B8F#2D2B8F

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

Color values

HEX#2D2B8F
RGBrgb(45, 43, 143)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 56%)
CMYKcmyk(68.5%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.54, 33.87, -54.88)
CIE-LCHlch(24.54, 64.49, 301.68°)
OKLaboklab(36.37% 0.0163 -0.1585)
OKLCHoklch(36.37% 0.159 275.9)
XYZxyz(6.9024, 4.2682, 26.4414)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B8F #8D8F2B
analogous
#2B5B8F #2D2B8F #5F2B8F
triadic
#2D2B8F #8F2D2B #2B8F2D
tetradic
#2D2B8F #8F2B5B #8D8F2B #2B8F5F
square
#2D2B8F #8F2B5B #8D8F2B #2B8F5F
split-complementary
#2D2B8F #8F5F2B #5B8F2B
monochromatic
#0F0F31 #1E1D60 #2D2B8F #3C39BE #6664D0

Accessibility & contrast

On white

11.33
#2D2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2B8F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B8F#FFFFFF#000000##FFFFFF
##2D2B8F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2b8f;
/* rgb */ color: rgb(45, 43, 143);
/* oklch */ color: oklch(36.4% 0.159 275.9);
Tailwind
colors: {
  custom: {
    50: '#7465b1',
    500: '#2d2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b8f;
$custom-light: #7465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b8f",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 241.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.15932,
    "h": 275.9
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#2D2B8F
secondary
#B5B75F
accent
#DD4BDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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