#2B2BAE#2B2BAE

#2B2BAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.199 H 272.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2B2BAE
RGBrgb(43, 43, 174)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 68%)
CMYKcmyk(75.3%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.56, 44.25, -68.79)
CIE-LCHlch(27.56, 81.80, 302.75°)
OKLaboklab(39.44% 0.0087 -0.1991)
OKLCHoklch(39.44% 0.199 272.5)
XYZxyz(9.4976, 5.2963, 40.5579)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BAE #AEAE2B
analogous
#2B6CAE #2B2BAE #6C2BAE
triadic
#2B2BAE #AE2B2B #2BAE2B
tetradic
#2B2BAE #AE2B6C #AEAE2B #2BAE6C
square
#2B2BAE #AE2B6C #AEAE2B #2BAE6C
split-complementary
#2B2BAE #AE6C2B #6CAE2B
monochromatic
#13134C #1F1F7D #2B2BAE #4545D1 #7676DD

Accessibility & contrast

On white

10.20
#2B2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BAE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BAE#FFFFFF#000000##FFFFFF
##2B2BAE1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2bae;
/* rgb */ color: rgb(43, 43, 174);
/* oklch */ color: oklch(39.4% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a66c7',
    500: '#2b2bae',
    950: '#000000',
  },
}
SCSS
$custom: #2b2bae;
$custom-light: #7a66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2bae",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.19929,
    "h": 272.5
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#2B2BAE
secondary
#C5C570
accent
#E444E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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