#2B3DB8#2B3DB8

#2B3DB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.193 H 269.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2B3DB8
RGBrgb(43, 61, 184)
HSLhsl(232, 62%, 45%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(76.6%, 66.8%, 0%, 27.8%)
CIE-LABlab(32.50, 36.89, -66.61)
CIE-LCHlch(32.50, 76.14, 298.98°)
OKLaboklab(43.29% -0.0016 -0.1928)
OKLCHoklch(43.29% 0.193 269.5)
XYZxyz(11.3138, 7.3105, 46.1529)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DB8 #B8A62B
analogous
#2B84B8 #2B3DB8 #5F2BB8
triadic
#2B3DB8 #B82B3D #3DB82B
tetradic
#2B3DB8 #B82B84 #B8A62B #2BB85F
square
#2B3DB8 #B82B84 #B8A62B #2BB85F
split-complementary
#2B3DB8 #B85F2B #84B82B
monochromatic
#141C55 #1F2D86 #2B3DB8 #4B5DD5 #7D8AE1

Accessibility & contrast

On white

8.53
#2B3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DB8
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DB8#FFFFFF#000000##FFFFFF
##2B3DB81.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3db8;
/* rgb */ color: rgb(43, 61, 184);
/* oklch */ color: oklch(43.3% 0.193 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b72ce',
    500: '#2b3db8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3db8;
$custom-light: #7b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3db8",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 232.34,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.19277,
    "h": 269.5
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#2B3DB8
secondary
#C9BE76
accent
#D043E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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