#2B3D81#2B3D81

#2B3D81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.5% C 0.117 H 269.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B3D81
RGBrgb(43, 61, 129)
HSLhsl(227, 50%, 34%)
HSVhsv(227, 67%, 51%)
CMYKcmyk(66.7%, 52.7%, 0%, 49.4%)
CIE-LABlab(27.94, 16.38, -40.64)
CIE-LCHlch(27.94, 43.82, 291.95°)
OKLaboklab(38.49% -0.0017 -0.1165)
OKLCHoklch(38.49% 0.117 269.2)
XYZxyz(6.6261, 5.4355, 21.4646)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D81 #816F2B
analogous
#2B6881 #2B3D81 #442B81
triadic
#2B3D81 #812B3D #3D812B
tetradic
#2B3D81 #812B68 #816F2B #2B8144
square
#2B3D81 #812B68 #816F2B #2B8144
split-complementary
#2B3D81 #81442B #68812B
monochromatic
#0C1225 #1C2753 #2B3D81 #3A53AF #5D74C9

Accessibility & contrast

On white

10.06
#2B3D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B3D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D81
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D81#FFFFFF#000000##FFFFFF
##2B3D811.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3d81;
/* rgb */ color: rgb(43, 61, 129);
/* oklch */ color: oklch(38.5% 0.117 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e72a6',
    500: '#2b3d81',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d81;
$custom-light: #6e72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d81",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 227.442,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.11654,
    "h": 269.2
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#2B3D81
secondary
#AF9D59
accent
#BC4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B3D81

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

Preview Lab → · Contrast checker → · Palette generator →

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