#2B3BB8#2B3BB8

#2B3BB8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.195 H 269.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2B3BB8
RGBrgb(43, 59, 184)
HSLhsl(233, 62%, 45%)
HSVhsv(233, 77%, 72%)
CMYKcmyk(76.6%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.04, 38.15, -67.38)
CIE-LCHlch(32.04, 77.43, 299.52°)
OKLaboklab(42.95% -0.0005 -0.195)
OKLCHoklch(42.95% 0.195 269.9)
XYZxyz(11.2090, 7.1010, 46.1180)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BB8 #B8A82B
analogous
#2B82B8 #2B3BB8 #612BB8
triadic
#2B3BB8 #B82B3B #3BB82B
tetradic
#2B3BB8 #B82B82 #B8A82B #2BB861
square
#2B3BB8 #B82B82 #B8A82B #2BB861
split-complementary
#2B3BB8 #B8612B #82B82B
monochromatic
#141B55 #1F2B86 #2B3BB8 #4B5BD5 #7D88E1

Accessibility & contrast

On white

8.68
#2B3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BB8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BB8#FFFFFF#000000##FFFFFF
##2B3BB81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3bb8;
/* rgb */ color: rgb(43, 59, 184);
/* oklch */ color: oklch(43.0% 0.195 269.9);
Tailwind
colors: {
  custom: {
    50: '#7b71ce',
    500: '#2b3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bb8;
$custom-light: #7b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bb8",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 233.191,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.19502,
    "h": 269.9
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#2B3BB8
secondary
#C9C076
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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