#2B206F#2B206F

#2B206F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.130 H 282.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2B206F
RGBrgb(43, 32, 111)
HSLhsl(248, 55%, 28%)
HSVhsv(248, 71%, 44%)
CMYKcmyk(61.3%, 71.2%, 0%, 56.5%)
CIE-LABlab(18.77, 29.39, -44.08)
CIE-LCHlch(18.77, 52.98, 303.69°)
OKLaboklab(31.23% 0.0274 -0.1269)
OKLCHoklch(31.23% 0.13 282.2)
XYZxyz(4.3811, 2.6940, 15.3250)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B206F #646F20
analogous
#203D6F #2B206F #52206F
triadic
#2B206F #6F2B20 #206F2B
tetradic
#2B206F #6F203D #646F20 #206F52
square
#2B206F #6F203D #646F20 #206F52
split-complementary
#2B206F #6F5220 #3D6F20
monochromatic
#090718 #19123F #2B206F #3D2E9F #5441C8

Accessibility & contrast

On white

13.65
#2B206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B206F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B206F#FFFFFF#000000##FFFFFF
##2B206F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#033544
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b206f;
/* rgb */ color: rgb(43, 32, 111);
/* oklch */ color: oklch(31.2% 0.130 282.2);
Tailwind
colors: {
  custom: {
    50: '#6d5c99',
    500: '#2b206f',
    950: '#000000',
  },
}
SCSS
$custom: #2b206f;
$custom-light: #6d5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b206f",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 248.354,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31234,
    "c": 0.12981,
    "h": 282.2
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#2B206F
secondary
#96A348
accent
#DF49CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2B206F

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

Preview Lab → · Contrast checker → · Palette generator →

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