#2B2B91#2B2B91

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

Color values

HEX#2B2B91
RGBrgb(43, 43, 145)
HSLhsl(240, 54%, 37%)
HSVhsv(240, 70%, 57%)
CMYKcmyk(70.3%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.59, 34.31, -56.04)
CIE-LCHlch(24.59, 65.71, 301.48°)
OKLaboklab(36.43% 0.0135 -0.1619)
OKLCHoklch(36.43% 0.162 274.8)
XYZxyz(6.9693, 4.2850, 27.2424)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B91 #91912B
analogous
#2B5E91 #2B2B91 #5E2B91
triadic
#2B2B91 #912B2B #2B912B
tetradic
#2B2B91 #912B5E #91912B #2B915E
square
#2B2B91 #912B5E #91912B #2B915E
split-complementary
#2B2B91 #915E2B #5E912B
monochromatic
#0F0F33 #1D1D62 #2B2B91 #3939C0 #6565D1

Accessibility & contrast

On white

11.31
#2B2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B91
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B91#FFFFFF#000000##FFFFFF
##2B2B911.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2b91;
/* rgb */ color: rgb(43, 43, 145);
/* oklch */ color: oklch(36.4% 0.162 274.8);
Tailwind
colors: {
  custom: {
    50: '#7365b2',
    500: '#2b2b91',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b91;
$custom-light: #7365b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b91",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36427,
    "c": 0.16247,
    "h": 274.8
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#2B2B91
secondary
#B8B860
accent
#DE4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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