#2B3DAB#2B3DAB

#2B3DAB is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.176 H 269.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2B3DAB
RGBrgb(43, 61, 171)
HSLhsl(232, 60%, 42%)
HSVhsv(232, 75%, 67%)
CMYKcmyk(74.9%, 64.3%, 0%, 32.9%)
CIE-LABlab(31.32, 32.16, -60.81)
CIE-LCHlch(31.32, 68.79, 297.87°)
OKLaboklab(42.07% -0.0008 -0.1758)
OKLCHoklch(42.07% 0.176 269.7)
XYZxyz(10.0132, 6.7903, 39.3031)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DAB #AB992B
analogous
#2B7DAB #2B3DAB #592BAB
triadic
#2B3DAB #AB2B3D #3DAB2B
tetradic
#2B3DAB #AB2B7D #AB992B #2BAB59
square
#2B3DAB #AB2B7D #AB992B #2BAB59
split-complementary
#2B3DAB #AB592B #7DAB2B
monochromatic
#121A49 #1F2C7A #2B3DAB #4357D0 #7483DC

Accessibility & contrast

On white

8.91
#2B3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B3DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DAB
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DAB#FFFFFF#000000##FFFFFF
##2B3DAB1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3dab;
/* rgb */ color: rgb(43, 61, 171);
/* oklch */ color: oklch(42.1% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#7872c5',
    500: '#2b3dab',
    950: '#000000',
  },
}
SCSS
$custom: #2b3dab;
$custom-light: #7872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3dab",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 231.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.17579,
    "h": 269.7
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#2B3DAB
secondary
#C4B86E
accent
#CD45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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