#2B249C#2B249C

#2B249C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.184 H 274.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2B249C
RGBrgb(43, 36, 156)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 61%)
CMYKcmyk(72.4%, 76.9%, 0%, 38.8%)
CIE-LABlab(24.24, 42.20, -63.38)
CIE-LCHlch(24.24, 76.14, 303.65°)
OKLaboklab(36.52% 0.0156 -0.1833)
OKLCHoklch(36.52% 0.184 274.9)
XYZxyz(7.6259, 4.1749, 31.8500)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B249C #959C24
analogous
#24599C #2B249C #67249C
triadic
#2B249C #9C2B24 #249C2B
tetradic
#2B249C #9C2459 #959C24 #249C67
square
#2B249C #9C2459 #959C24 #249C67
split-complementary
#2B249C #9C6724 #599C24
monochromatic
#100D39 #1D196A #2B249C #392FCE #6760DA

Accessibility & contrast

On white

11.44
#2B249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B249C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B249C#FFFFFF#000000##FFFFFF
##2B249C1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b249c;
/* rgb */ color: rgb(43, 36, 156);
/* oklch */ color: oklch(36.5% 0.184 274.9);
Tailwind
colors: {
  custom: {
    50: '#7761ba',
    500: '#2b249c',
    950: '#000000',
  },
}
SCSS
$custom: #2b249c;
$custom-light: #7761ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b249c",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 243.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.18395,
    "h": 274.9
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#2B249C
secondary
#BABF5C
accent
#E642DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B249C

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

Preview Lab → · Contrast checker → · Palette generator →

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