#2B3C81#2B3C81

#2B3C81 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.3% C 0.118 H 269.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3C81
RGBrgb(43, 60, 129)
HSLhsl(228, 50%, 34%)
HSVhsv(228, 67%, 51%)
CMYKcmyk(66.7%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.65, 17.07, -41.10)
CIE-LCHlch(27.65, 44.51, 292.55°)
OKLaboklab(38.27% -0.0007 -0.1179)
OKLCHoklch(38.27% 0.118 269.7)
XYZxyz(6.5732, 5.3297, 21.4470)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C81 #81702B
analogous
#2B6781 #2B3C81 #452B81
triadic
#2B3C81 #812B3C #3C812B
tetradic
#2B3C81 #812B67 #81702B #2B8145
square
#2B3C81 #812B67 #81702B #2B8145
split-complementary
#2B3C81 #81452B #67812B
monochromatic
#0C1125 #1C2753 #2B3C81 #3A51AF #5D73C9

Accessibility & contrast

On white

10.16
#2B3C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B3C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C81
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C81#FFFFFF#000000##FFFFFF
##2B3C811.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124583
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3c81;
/* rgb */ color: rgb(43, 60, 129);
/* oklch */ color: oklch(38.3% 0.118 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e71a6',
    500: '#2b3c81',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c81;
$custom-light: #6e71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c81",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 228.14,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38269,
    "c": 0.11791,
    "h": 269.7
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#2B3C81
secondary
#AF9E59
accent
#BE4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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