#2B2088#2B2088

#2B2088 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.163 H 277.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2088
RGBrgb(43, 32, 136)
HSLhsl(246, 62%, 33%)
HSVhsv(246, 76%, 53%)
CMYKcmyk(68.4%, 76.5%, 0%, 46.7%)
CIE-LABlab(21.30, 37.83, -55.86)
CIE-LCHlch(21.30, 67.47, 304.11°)
OKLaboklab(33.8% 0.0223 -0.1613)
OKLCHoklch(33.8% 0.163 277.9)
XYZxyz(5.9553, 3.3237, 23.6155)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2088 #7D8820
analogous
#204988 #2B2088 #5F2088
triadic
#2B2088 #882B20 #20882B
tetradic
#2B2088 #882049 #7D8820 #20885F
square
#2B2088 #882049 #7D8820 #20885F
split-complementary
#2B2088 #885F20 #498820
monochromatic
#0C0925 #1B1456 #2B2088 #3B2CBA #5C4DD5

Accessibility & contrast

On white

12.61
#2B2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2088
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2088#FFFFFF#000000##FFFFFF
##2B20881.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2088;
/* rgb */ color: rgb(43, 32, 136);
/* oklch */ color: oklch(33.8% 0.163 277.9);
Tailwind
colors: {
  custom: {
    50: '#725dac',
    500: '#2b2088',
    950: '#000000',
  },
}
SCSS
$custom: #2b2088;
$custom-light: #725dac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2088",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 246.346,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.16289,
    "h": 277.9
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#2B2088
secondary
#ADB84C
accent
#E543D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2088

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

Preview Lab → · Contrast checker → · Palette generator →

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