#2B3183#2B3183

#2B3183 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.136 H 274.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2B3183
RGBrgb(43, 49, 131)
HSLhsl(236, 51%, 34%)
HSVhsv(236, 67%, 51%)
CMYKcmyk(67.2%, 62.6%, 0%, 48.6%)
CIE-LABlab(24.79, 25.34, -47.00)
CIE-LCHlch(24.79, 53.39, 298.33°)
OKLaboklab(36.18% 0.0099 -0.1354)
OKLCHoklch(36.18% 0.136 274.2)
XYZxyz(6.1900, 4.3484, 21.9814)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3183 #837D2B
analogous
#2B5D83 #2B3183 #512B83
triadic
#2B3183 #832B31 #31832B
tetradic
#2B3183 #832B5D #837D2B #2B8351
square
#2B3183 #832B5D #837D2B #2B8351
split-complementary
#2B3183 #83512B #5D832B
monochromatic
#0D0F27 #1C2055 #2B3183 #3A42B1 #5E66CA

Accessibility & contrast

On white

11.23
#2B3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3183
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3183#FFFFFF#000000##FFFFFF
##2B31831.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3183;
/* rgb */ color: rgb(43, 49, 131);
/* oklch */ color: oklch(36.2% 0.136 274.2);
Tailwind
colors: {
  custom: {
    50: '#7069a8',
    500: '#2b3183',
    950: '#000000',
  },
}
SCSS
$custom: #2b3183;
$custom-light: #7069a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3183",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 235.909,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36179,
    "c": 0.13574,
    "h": 274.2
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#2B3183
secondary
#B0AA5A
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3183

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

Preview Lab → · Contrast checker → · Palette generator →

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