#2B209F#2B209F

#2B209F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.191 H 275.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2B209F
RGBrgb(43, 32, 159)
HSLhsl(245, 66%, 37%)
HSVhsv(245, 80%, 62%)
CMYKcmyk(73%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.83, 45.30, -65.89)
CIE-LCHlch(23.83, 79.96, 304.51°)
OKLaboklab(36.33% 0.0167 -0.1905)
OKLCHoklch(36.33% 0.191 275)
XYZxyz(7.7687, 4.0491, 33.1663)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B209F #949F20
analogous
#20549F #2B209F #6B209F
triadic
#2B209F #9F2B20 #209F2B
tetradic
#2B209F #9F2054 #949F20 #209F6B
square
#2B209F #9F2054 #949F20 #209F6B
split-complementary
#2B209F #9F6B20 #549F20
monochromatic
#0F0B39 #1D166C #2B209F #392AD2 #675BDE

Accessibility & contrast

On white

11.60
#2B209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B209F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B209F#FFFFFF#000000##FFFFFF
##2B209F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b209f;
/* rgb */ color: rgb(43, 32, 159);
/* oklch */ color: oklch(36.3% 0.191 275.0);
Tailwind
colors: {
  custom: {
    50: '#785fbd',
    500: '#2b209f',
    950: '#000000',
  },
}
SCSS
$custom: #2b209f;
$custom-light: #785fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b209f",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 245.197,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.19127,
    "h": 275
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#2B209F
secondary
#B9C259
accent
#E93EDB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B209F

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

Preview Lab → · Contrast checker → · Palette generator →

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