#2B3281#2B3281

#2B3281 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.132 H 273.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2B3281
RGBrgb(43, 50, 129)
HSLhsl(235, 50%, 34%)
HSVhsv(235, 67%, 51%)
CMYKcmyk(66.7%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.89, 23.93, -45.58)
CIE-LCHlch(24.89, 51.48, 297.69°)
OKLaboklab(36.2% 0.0091 -0.1312)
OKLCHoklch(36.2% 0.132 273.9)
XYZxyz(6.0980, 4.3792, 21.2885)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3281 #817A2B
analogous
#2B5D81 #2B3281 #4F2B81
triadic
#2B3281 #812B32 #32812B
tetradic
#2B3281 #812B5D #817A2B #2B814F
square
#2B3281 #812B5D #817A2B #2B814F
split-complementary
#2B3281 #814F2B #5D812B
monochromatic
#0C0E25 #1C2053 #2B3281 #3A44AF #5D66C9

Accessibility & contrast

On white

11.19
#2B3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B3281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3281
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3281#FFFFFF#000000##FFFFFF
##2B32811.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3281;
/* rgb */ color: rgb(43, 50, 129);
/* oklch */ color: oklch(36.2% 0.132 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f69a6',
    500: '#2b3281',
    950: '#000000',
  },
}
SCSS
$custom: #2b3281;
$custom-light: #6f69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3281",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 235.116,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36198,
    "c": 0.13153,
    "h": 273.9
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#2B3281
secondary
#AFA859
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3281

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

Preview Lab → · Contrast checker → · Palette generator →

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