#2B249B#2B249B

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

Color values

HEX#2B249B
RGBrgb(43, 36, 155)
HSLhsl(244, 62%, 37%)
HSVhsv(244, 77%, 61%)
CMYKcmyk(72.3%, 76.8%, 0%, 39.2%)
CIE-LABlab(24.13, 41.87, -62.95)
CIE-LCHlch(24.13, 75.60, 303.63°)
OKLaboklab(36.41% 0.0158 -0.182)
OKLCHoklch(36.41% 0.183 275)
XYZxyz(7.5416, 4.1412, 31.4059)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B249B #949B24
analogous
#24599B #2B249B #66249B
triadic
#2B249B #9B2B24 #249B2B
tetradic
#2B249B #9B2459 #949B24 #249B66
square
#2B249B #9B2459 #949B24 #249B66
split-complementary
#2B249B #9B6624 #599B24
monochromatic
#0F0D38 #1D1869 #2B249B #3930CD #675FDA

Accessibility & contrast

On white

11.49
#2B249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B249B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B249B#FFFFFF#000000##FFFFFF
##2B249B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b249b;
/* rgb */ color: rgb(43, 36, 155);
/* oklch */ color: oklch(36.4% 0.183 275.0);
Tailwind
colors: {
  custom: {
    50: '#7661ba',
    500: '#2b249b',
    950: '#000000',
  },
}
SCSS
$custom: #2b249b;
$custom-light: #7661ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b249b",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 243.529,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36408,
    "c": 0.18272,
    "h": 275
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#2B249B
secondary
#B9BF5C
accent
#E542DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B249B

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

Preview Lab → · Contrast checker → · Palette generator →

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