#2D2B90#2D2B90

#2D2B90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.161 H 275.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2D2B90
RGBrgb(45, 43, 144)
HSLhsl(241, 54%, 37%)
HSVhsv(241, 70%, 56%)
CMYKcmyk(68.7%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.64, 34.22, -55.34)
CIE-LCHlch(24.64, 65.07, 301.73°)
OKLaboklab(36.46% 0.0162 -0.1598)
OKLCHoklch(36.46% 0.161 275.8)
XYZxyz(6.9785, 4.2986, 26.8421)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B90 #8E902B
analogous
#2B5C90 #2D2B90 #602B90
triadic
#2D2B90 #902D2B #2B902D
tetradic
#2D2B90 #902B5C #8E902B #2B9060
square
#2D2B90 #902B5C #8E902B #2B9060
split-complementary
#2D2B90 #90602B #5C902B
monochromatic
#100F32 #1E1D61 #2D2B90 #3C39BF #6765D1

Accessibility & contrast

On white

11.29
#2D2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B90
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B90#FFFFFF#000000##FFFFFF
##2D2B901.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2b90;
/* rgb */ color: rgb(45, 43, 144);
/* oklch */ color: oklch(36.5% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#7465b1',
    500: '#2d2b90',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b90;
$custom-light: #7465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b90",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 241.188,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.16064,
    "h": 275.8
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#2D2B90
secondary
#B5B760
accent
#DD4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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