#2B3392#2B3392

#2B3392 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.154 H 272.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2B3392
RGBrgb(43, 51, 146)
HSLhsl(235, 54%, 37%)
HSVhsv(235, 71%, 57%)
CMYKcmyk(70.5%, 65.1%, 0%, 42.7%)
CIE-LABlab(26.61, 29.52, -53.35)
CIE-LCHlch(26.61, 60.97, 298.96°)
OKLaboklab(37.92% 0.0076 -0.154)
OKLCHoklch(37.92% 0.154 272.8)
XYZxyz(7.3667, 4.9559, 27.7569)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3392 #928A2B
analogous
#2B6792 #2B3392 #572B92
triadic
#2B3392 #922B33 #33922B
tetradic
#2B3392 #922B67 #928A2B #2B9257
square
#2B3392 #922B67 #928A2B #2B9257
split-complementary
#2B3392 #92572B #67922B
monochromatic
#0F1233 #1D2263 #2B3392 #3944C1 #666ED2

Accessibility & contrast

On white

10.55
#2B3392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3392
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3392#FFFFFF#000000##FFFFFF
##2B33921.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3392;
/* rgb */ color: rgb(43, 51, 146);
/* oklch */ color: oklch(37.9% 0.154 272.8);
Tailwind
colors: {
  custom: {
    50: '#736ab3',
    500: '#2b3392',
    950: '#000000',
  },
}
SCSS
$custom: #2b3392;
$custom-light: #736ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3392",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 235.34,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.1542,
    "h": 272.8
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#2B3392
secondary
#B8B161
accent
#D24ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3392

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

Preview Lab → · Contrast checker → · Palette generator →

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