#2B2D91#2B2D91

#2B2D91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.160 H 274.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B2D91
RGBrgb(43, 45, 145)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 57%)
CMYKcmyk(70.3%, 69%, 0%, 43.1%)
CIE-LABlab(25.06, 33.05, -55.28)
CIE-LCHlch(25.06, 64.40, 300.87°)
OKLaboklab(36.76% 0.0121 -0.1597)
OKLCHoklch(36.76% 0.16 274.3)
XYZxyz(7.0438, 4.4340, 27.2672)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D91 #918F2B
analogous
#2B6091 #2B2D91 #5C2B91
triadic
#2B2D91 #912B2D #2D912B
tetradic
#2B2D91 #912B60 #918F2B #2B915C
square
#2B2D91 #912B60 #918F2B #2B915C
split-complementary
#2B2D91 #915C2B #60912B
monochromatic
#0F1033 #1D1E62 #2B2D91 #393CC0 #6567D1

Accessibility & contrast

On white

11.13
#2B2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D91
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D91#FFFFFF#000000##FFFFFF
##2B2D911.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2d91;
/* rgb */ color: rgb(43, 45, 145);
/* oklch */ color: oklch(36.8% 0.160 274.3);
Tailwind
colors: {
  custom: {
    50: '#7366b2',
    500: '#2b2d91',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d91;
$custom-light: #7366b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d91",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 238.824,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.16014,
    "h": 274.3
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#2B2D91
secondary
#B8B660
accent
#DB4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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