#2B2DA8#2B2DA8

#2B2DA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.190 H 272.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2B2DA8
RGBrgb(43, 45, 168)
HSLhsl(239, 59%, 41%)
HSVhsv(239, 74%, 66%)
CMYKcmyk(74.4%, 73.2%, 0%, 34.1%)
CIE-LABlab(27.34, 41.07, -65.55)
CIE-LCHlch(27.34, 77.36, 302.07°)
OKLaboklab(39.1% 0.0088 -0.1897)
OKLCHoklch(39.1% 0.19 272.7)
XYZxyz(9.0002, 5.2166, 37.5708)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA8 #A8A62B
analogous
#2B6CA8 #2B2DA8 #682BA8
triadic
#2B2DA8 #A82B2D #2DA82B
tetradic
#2B2DA8 #A82B6C #A8A62B #2BA868
square
#2B2DA8 #A82B6C #A8A62B #2BA868
split-complementary
#2B2DA8 #A8682B #6CA82B
monochromatic
#121347 #1F2077 #2B2DA8 #4244CF #7274DB

Accessibility & contrast

On white

10.28
#2B2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B2DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DA8
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA8#FFFFFF#000000##FFFFFF
##2B2DA81.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2da8;
/* rgb */ color: rgb(43, 45, 168);
/* oklch */ color: oklch(39.1% 0.190 272.7);
Tailwind
colors: {
  custom: {
    50: '#7967c3',
    500: '#2b2da8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da8;
$custom-light: #7967c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da8",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 239.04,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.18987,
    "h": 272.7
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#2B2DA8
secondary
#C2C16C
accent
#E045E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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