#2B3581#2B3581

#2B3581 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.127 H 272.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2B3581
RGBrgb(43, 53, 129)
HSLhsl(233, 50%, 34%)
HSVhsv(233, 67%, 51%)
CMYKcmyk(66.7%, 58.9%, 0%, 49.4%)
CIE-LABlab(25.70, 21.88, -44.27)
CIE-LCHlch(25.70, 49.38, 296.30°)
OKLaboklab(36.8% 0.0062 -0.1273)
OKLCHoklch(36.8% 0.127 272.8)
XYZxyz(6.2305, 4.6442, 21.3327)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3581 #81772B
analogous
#2B6081 #2B3581 #4C2B81
triadic
#2B3581 #812B35 #35812B
tetradic
#2B3581 #812B60 #81772B #2B814C
square
#2B3581 #812B60 #81772B #2B814C
split-complementary
#2B3581 #814C2B #60812B
monochromatic
#0C0F25 #1C2253 #2B3581 #3A48AF #5D6AC9

Accessibility & contrast

On white

10.89
#2B3581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B3581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3581
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3581#FFFFFF#000000##FFFFFF
##2B35811.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3581;
/* rgb */ color: rgb(43, 53, 129);
/* oklch */ color: oklch(36.8% 0.127 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ca6',
    500: '#2b3581',
    950: '#000000',
  },
}
SCSS
$custom: #2b3581;
$custom-light: #6f6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3581",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 233.023,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.12748,
    "h": 272.8
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#2B3581
secondary
#AFA559
accent
#C94EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3581

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

Preview Lab → · Contrast checker → · Palette generator →

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