#2B3382#2B3382

#2B3382 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.132 H 273.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2B3382
RGBrgb(43, 51, 130)
HSLhsl(234, 50%, 34%)
HSVhsv(234, 67%, 51%)
CMYKcmyk(66.9%, 60.8%, 0%, 49%)
CIE-LABlab(25.24, 23.62, -45.64)
CIE-LCHlch(25.24, 51.39, 297.36°)
OKLaboklab(36.48% 0.0081 -0.1314)
OKLCHoklch(36.48% 0.132 273.5)
XYZxyz(6.2080, 4.4924, 21.6547)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3382 #827A2B
analogous
#2B5F82 #2B3382 #4F2B82
triadic
#2B3382 #822B33 #33822B
tetradic
#2B3382 #822B5F #827A2B #2B824F
square
#2B3382 #822B5F #827A2B #2B824F
split-complementary
#2B3382 #824F2B #5F822B
monochromatic
#0D0F26 #1C2154 #2B3382 #3A45B0 #5E68CA

Accessibility & contrast

On white

11.06
#2B3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3382
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3382#FFFFFF#000000##FFFFFF
##2B33821.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3382;
/* rgb */ color: rgb(43, 51, 130);
/* oklch */ color: oklch(36.5% 0.132 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f6aa7',
    500: '#2b3382',
    950: '#000000',
  },
}
SCSS
$custom: #2b3382;
$custom-light: #6f6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3382",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 234.483,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36483,
    "c": 0.13164,
    "h": 273.5
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#2B3382
secondary
#B0A859
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3382

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

Preview Lab → · Contrast checker → · Palette generator →

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