#2B3481#2B3481

#2B3481 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.129 H 273.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3481
RGBrgb(43, 52, 129)
HSLhsl(234, 50%, 34%)
HSVhsv(234, 67%, 51%)
CMYKcmyk(66.7%, 59.7%, 0%, 49.4%)
CIE-LABlab(25.42, 22.56, -44.71)
CIE-LCHlch(25.42, 50.08, 296.78°)
OKLaboklab(36.6% 0.0072 -0.1286)
OKLCHoklch(36.6% 0.129 273.2)
XYZxyz(6.1854, 4.5540, 21.3177)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3481 #81782B
analogous
#2B5F81 #2B3481 #4D2B81
triadic
#2B3481 #812B34 #34812B
tetradic
#2B3481 #812B5F #81782B #2B814D
square
#2B3481 #812B5F #81782B #2B814D
split-complementary
#2B3481 #814D2B #5F812B
monochromatic
#0C0F25 #1C2153 #2B3481 #3A47AF #5D69C9

Accessibility & contrast

On white

10.99
#2B3481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B3481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3481
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3481#FFFFFF#000000##FFFFFF
##2B34811.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3481;
/* rgb */ color: rgb(43, 52, 129);
/* oklch */ color: oklch(36.6% 0.129 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ba6',
    500: '#2b3481',
    950: '#000000',
  },
}
SCSS
$custom: #2b3481;
$custom-light: #6f6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3481",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 233.721,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36596,
    "c": 0.12884,
    "h": 273.2
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#2B3481
secondary
#AFA659
accent
#CB4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3481

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

Preview Lab → · Contrast checker → · Palette generator →

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