#2B3B9D#2B3B9D

#2B3B9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.159 H 270.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2B3B9D
RGBrgb(43, 59, 157)
HSLhsl(232, 57%, 39%)
HSVhsv(232, 73%, 62%)
CMYKcmyk(72.6%, 62.4%, 0%, 38.4%)
CIE-LABlab(29.60, 28.30, -55.19)
CIE-LCHlch(29.60, 62.02, 297.14°)
OKLaboklab(40.42% 0.0011 -0.1593)
OKLCHoklch(40.42% 0.159 270.4)
XYZxyz(8.6440, 6.0750, 32.6088)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B9D #9D8D2B
analogous
#2B749D #2B3B9D #542B9D
triadic
#2B3B9D #9D2B3B #3B9D2B
tetradic
#2B3B9D #9D2B74 #9D8D2B #2B9D54
square
#2B3B9D #9D2B74 #9D8D2B #2B9D54
split-complementary
#2B3B9D #9D542B #749D2B
monochromatic
#11173D #1E296D #2B3B9D #3C50CA #6C7BD7

Accessibility & contrast

On white

9.48
#2B3B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B3B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B9D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B9D#FFFFFF#000000##FFFFFF
##2B3B9D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3b9d;
/* rgb */ color: rgb(43, 59, 157);
/* oklch */ color: oklch(40.4% 0.159 270.4);
Tailwind
colors: {
  custom: {
    50: '#7570bb',
    500: '#2b3b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b9d;
$custom-light: #7570bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b9d",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 231.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.15933,
    "h": 270.4
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#2B3B9D
secondary
#BDB166
accent
#CB48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B3B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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