#2B208F#2B208F

#2B208F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.172 H 276.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2B208F
RGBrgb(43, 32, 143)
HSLhsl(246, 63%, 34%)
HSVhsv(246, 78%, 56%)
CMYKcmyk(69.9%, 77.6%, 0%, 43.9%)
CIE-LABlab(22.05, 40.14, -58.99)
CIE-LCHlch(22.05, 71.35, 304.23°)
OKLaboklab(34.55% 0.0207 -0.1705)
OKLCHoklch(34.55% 0.172 276.9)
XYZxyz(6.4691, 3.5292, 26.3216)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B208F #848F20
analogous
#204D8F #2B208F #63208F
triadic
#2B208F #8F2B20 #208F2B
tetradic
#2B208F #8F204D #848F20 #208F63
square
#2B208F #8F204D #848F20 #208F63
split-complementary
#2B208F #8F6320 #4D8F20
monochromatic
#0D0A2B #1C155D #2B208F #3A2BC1 #5F51D8

Accessibility & contrast

On white

12.31
#2B208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B208F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B208F#FFFFFF#000000##FFFFFF
##2B208F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b208f;
/* rgb */ color: rgb(43, 32, 143);
/* oklch */ color: oklch(34.6% 0.172 276.9);
Tailwind
colors: {
  custom: {
    50: '#745eb1',
    500: '#2b208f',
    950: '#000000',
  },
}
SCSS
$custom: #2b208f;
$custom-light: #745eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b208f",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 245.946,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.17171,
    "h": 276.9
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#2B208F
secondary
#B1BB4F
accent
#E641D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2B208F

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

Preview Lab → · Contrast checker → · Palette generator →

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