#2B3792#2B3792

#2B3792 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.149 H 271.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2B3792
RGBrgb(43, 55, 146)
HSLhsl(233, 54%, 37%)
HSVhsv(233, 71%, 57%)
CMYKcmyk(70.5%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.63, 26.87, -51.68)
CIE-LCHlch(27.63, 58.25, 297.47°)
OKLaboklab(38.67% 0.0044 -0.1491)
OKLCHoklch(38.67% 0.149 271.7)
XYZxyz(7.5490, 5.3206, 27.8177)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3792 #92862B
analogous
#2B6A92 #2B3792 #532B92
triadic
#2B3792 #922B37 #37922B
tetradic
#2B3792 #922B6A #92862B #2B9253
square
#2B3792 #922B6A #92862B #2B9253
split-complementary
#2B3792 #92532B #6A922B
monochromatic
#0F1333 #1D2563 #2B3792 #3949C1 #6672D2

Accessibility & contrast

On white

10.17
#2B3792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B3792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3792
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3792#FFFFFF#000000##FFFFFF
##2B37921.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3792;
/* rgb */ color: rgb(43, 55, 146);
/* oklch */ color: oklch(38.7% 0.149 271.7);
Tailwind
colors: {
  custom: {
    50: '#726db3',
    500: '#2b3792',
    950: '#000000',
  },
}
SCSS
$custom: #2b3792;
$custom-light: #726db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3792",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 233.01,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.14916,
    "h": 271.7
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#2B3792
secondary
#B8AE61
accent
#CD4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3792

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

Preview Lab → · Contrast checker → · Palette generator →

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