#2B3DA1#2B3DA1

#2B3DA1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.162 H 269.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2B3DA1
RGBrgb(43, 61, 161)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 73%, 63%)
CMYKcmyk(73.3%, 62.1%, 0%, 36.9%)
CIE-LABlab(30.46, 28.46, -56.21)
CIE-LCHlch(30.46, 63.01, 296.85°)
OKLaboklab(41.16% -0.0005 -0.1623)
OKLCHoklch(41.16% 0.162 269.8)
XYZxyz(9.0958, 6.4233, 34.4718)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DA1 #A18F2B
analogous
#2B78A1 #2B3DA1 #542BA1
triadic
#2B3DA1 #A12B3D #3DA12B
tetradic
#2B3DA1 #A12B78 #A18F2B #2BA154
square
#2B3DA1 #A12B78 #A18F2B #2BA154
split-complementary
#2B3DA1 #A1542B #78A12B
monochromatic
#111840 #1E2B71 #2B3DA1 #3E53CB #6E7ED8

Accessibility & contrast

On white

9.19
#2B3DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B3DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DA1
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DA1#FFFFFF#000000##FFFFFF
##2B3DA11.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3da1;
/* rgb */ color: rgb(43, 61, 161);
/* oklch */ color: oklch(41.2% 0.162 269.8);
Tailwind
colors: {
  custom: {
    50: '#7672be',
    500: '#2b3da1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3da1;
$custom-light: #7672be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3da1",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 230.847,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.16232,
    "h": 269.8
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#2B3DA1
secondary
#BFB269
accent
#CA47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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