#2B2BA8#2B2BA8

#2B2BA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.192 H 272.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2B2BA8
RGBrgb(43, 43, 168)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 66%)
CMYKcmyk(74.4%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.93, 42.24, -66.24)
CIE-LCHlch(26.93, 78.56, 302.53°)
OKLaboklab(38.8% 0.0098 -0.1917)
OKLCHoklch(38.8% 0.192 272.9)
XYZxyz(8.9257, 5.0676, 37.5459)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BA8 #A8A82B
analogous
#2B6AA8 #2B2BA8 #6A2BA8
triadic
#2B2BA8 #A82B2B #2BA82B
tetradic
#2B2BA8 #A82B6A #A8A82B #2BA86A
square
#2B2BA8 #A82B6A #A8A82B #2BA86A
split-complementary
#2B2BA8 #A86A2B #6AA82B
monochromatic
#121247 #1F1F77 #2B2BA8 #4242CF #7272DB

Accessibility & contrast

On white

10.43
#2B2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BA8
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BA8#FFFFFF#000000##FFFFFF
##2B2BA81.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ba8;
/* rgb */ color: rgb(43, 43, 168);
/* oklch */ color: oklch(38.8% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#7966c3',
    500: '#2b2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ba8;
$custom-light: #7966c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ba8",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 240,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.19191,
    "h": 272.9
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#2B2BA8
secondary
#C2C26C
accent
#E245E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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