#2B3B9B#2B3B9B

#2B3B9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.157 H 270.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2B3B9B
RGBrgb(43, 59, 155)
HSLhsl(231, 57%, 39%)
HSVhsv(231, 72%, 61%)
CMYKcmyk(72.3%, 61.9%, 0%, 39.2%)
CIE-LABlab(29.43, 27.55, -54.25)
CIE-LCHlch(29.43, 60.85, 296.92°)
OKLaboklab(40.24% 0.0011 -0.1566)
OKLCHoklch(40.24% 0.157 270.4)
XYZxyz(8.4746, 6.0072, 31.7169)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B9B #9B8B2B
analogous
#2B739B #2B3B9B #532B9B
triadic
#2B3B9B #9B2B3B #3B9B2B
tetradic
#2B3B9B #9B2B73 #9B8B2B #2B9B53
square
#2B3B9B #9B2B73 #9B8B2B #2B9B53
split-complementary
#2B3B9B #9B532B #739B2B
monochromatic
#10173B #1E296B #2B3B9B #3B4FC9 #6B7AD6

Accessibility & contrast

On white

9.54
#2B3B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B3B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B9B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B9B#FFFFFF#000000##FFFFFF
##2B3B9B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3b9b;
/* rgb */ color: rgb(43, 59, 155);
/* oklch */ color: oklch(40.2% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#7470b9',
    500: '#2b3b9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b9b;
$custom-light: #7470b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b9b",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 231.429,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.15658,
    "h": 270.4
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#2B3B9B
secondary
#BCB065
accent
#CA48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B3B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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