#2D2B94#2D2B94

#2D2B94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.166 H 275.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2D2B94
RGBrgb(45, 43, 148)
HSLhsl(241, 55%, 37%)
HSVhsv(241, 71%, 58%)
CMYKcmyk(69.6%, 70.9%, 0%, 42%)
CIE-LABlab(25.02, 35.61, -57.18)
CIE-LCHlch(25.02, 67.36, 301.91°)
OKLaboklab(36.86% 0.0156 -0.1652)
OKLCHoklch(36.86% 0.166 275.4)
XYZxyz(7.2896, 4.4231, 28.4808)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B94 #92942B
analogous
#2B5D94 #2D2B94 #622B94
triadic
#2D2B94 #942D2B #2B942D
tetradic
#2D2B94 #942B5D #92942B #2B9462
square
#2D2B94 #942B5D #92942B #2B9462
split-complementary
#2D2B94 #94622B #5D942B
monochromatic
#100F35 #1F1D65 #2D2B94 #3B39C3 #6967D3

Accessibility & contrast

On white

11.14
#2D2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2B94
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B94#FFFFFF#000000##FFFFFF
##2D2B941.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2b94;
/* rgb */ color: rgb(45, 43, 148);
/* oklch */ color: oklch(36.9% 0.166 275.4);
Tailwind
colors: {
  custom: {
    50: '#7565b4',
    500: '#2d2b94',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b94;
$custom-light: #7565b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b94",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 241.143,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36863,
    "c": 0.16591,
    "h": 275.4
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#2D2B94
secondary
#B7B962
accent
#DE49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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