#2B3583#2B3583

#2B3583 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.130 H 272.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2B3583
RGBrgb(43, 53, 131)
HSLhsl(233, 51%, 34%)
HSVhsv(233, 67%, 51%)
CMYKcmyk(67.2%, 59.5%, 0%, 48.6%)
CIE-LABlab(25.86, 22.63, -45.26)
CIE-LCHlch(25.86, 50.60, 296.56°)
OKLaboklab(36.97% 0.0063 -0.1302)
OKLCHoklch(36.97% 0.13 272.8)
XYZxyz(6.3647, 4.6979, 22.0397)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3583 #83792B
analogous
#2B6183 #2B3583 #4D2B83
triadic
#2B3583 #832B35 #35832B
tetradic
#2B3583 #832B61 #83792B #2B834D
square
#2B3583 #832B61 #83792B #2B834D
split-complementary
#2B3583 #834D2B #61832B
monochromatic
#0D1027 #1C2255 #2B3583 #3A48B1 #5E6ACA

Accessibility & contrast

On white

10.83
#2B3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3583
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3583#FFFFFF#000000##FFFFFF
##2B35831.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3583;
/* rgb */ color: rgb(43, 53, 131);
/* oklch */ color: oklch(37.0% 0.130 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ca8',
    500: '#2b3583',
    950: '#000000',
  },
}
SCSS
$custom: #2b3583;
$custom-light: #6f6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3583",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 233.182,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.1304,
    "h": 272.8
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#2B3583
secondary
#B0A65A
accent
#CA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3583

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

Preview Lab → · Contrast checker → · Palette generator →

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