#2B2883#2B2883

#2B2883 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.147 H 276.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2883
RGBrgb(43, 40, 131)
HSLhsl(242, 53%, 34%)
HSVhsv(242, 69%, 51%)
CMYKcmyk(67.2%, 69.5%, 0%, 48.6%)
CIE-LABlab(22.55, 31.27, -50.66)
CIE-LCHlch(22.55, 59.54, 301.68°)
OKLaboklab(34.54% 0.0176 -0.1462)
OKLCHoklch(34.54% 0.147 276.9)
XYZxyz(5.8505, 3.6694, 21.8683)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2883 #808328
analogous
#285283 #2B2883 #582883
triadic
#2B2883 #832B28 #28832B
tetradic
#2B2883 #832852 #808328 #288358
square
#2B2883 #832852 #808328 #288358
split-complementary
#2B2883 #835828 #528328
monochromatic
#0C0B25 #1C1A54 #2B2883 #3A36B2 #5D59CC

Accessibility & contrast

On white

12.11
#2B2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2883
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2883#FFFFFF#000000##FFFFFF
##2B28831.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2883;
/* rgb */ color: rgb(43, 40, 131);
/* oklch */ color: oklch(34.5% 0.147 276.9);
Tailwind
colors: {
  custom: {
    50: '#7062a8',
    500: '#2b2883',
    950: '#000000',
  },
}
SCSS
$custom: #2b2883;
$custom-light: #7062a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2883",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 241.978,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34539,
    "c": 0.14724,
    "h": 276.9
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#2B2883
secondary
#AEB155
accent
#DD4BD8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2B2883

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

Preview Lab → · Contrast checker → · Palette generator →

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