#2B3A91#2B3A91

#2B3A91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.144 H 270.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2B3A91
RGBrgb(43, 58, 145)
HSLhsl(231, 54%, 37%)
HSVhsv(231, 70%, 57%)
CMYKcmyk(70.3%, 60%, 0%, 43.1%)
CIE-LABlab(28.34, 24.48, -49.92)
CIE-LCHlch(28.34, 55.60, 296.12°)
OKLaboklab(39.17% 0.002 -0.1439)
OKLCHoklch(39.17% 0.144 270.8)
XYZxyz(7.6184, 5.5833, 27.4588)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A91 #91822B
analogous
#2B6D91 #2B3A91 #4F2B91
triadic
#2B3A91 #912B3A #3A912B
tetradic
#2B3A91 #912B6D #91822B #2B914F
square
#2B3A91 #912B6D #91822B #2B914F
split-complementary
#2B3A91 #914F2B #6D912B
monochromatic
#0F1433 #1D2762 #2B3A91 #394DC0 #6575D1

Accessibility & contrast

On white

9.92
#2B3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B3A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A91
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A91#FFFFFF#000000##FFFFFF
##2B3A911.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3a91;
/* rgb */ color: rgb(43, 58, 145);
/* oklch */ color: oklch(39.2% 0.144 270.8);
Tailwind
colors: {
  custom: {
    50: '#7270b2',
    500: '#2b3a91',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a91;
$custom-light: #7270b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a91",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 231.176,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39171,
    "c": 0.14388,
    "h": 270.8
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#2B3A91
secondary
#B8AB60
accent
#C84ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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