#2B248C#2B248C

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

Color values

HEX#2B248C
RGBrgb(43, 36, 140)
HSLhsl(244, 59%, 35%)
HSVhsv(244, 74%, 55%)
CMYKcmyk(69.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(22.54, 36.85, -56.31)
CIE-LCHlch(22.54, 67.29, 303.20°)
OKLaboklab(34.81% 0.0189 -0.1627)
OKLCHoklch(34.81% 0.164 276.6)
XYZxyz(6.3592, 3.6682, 25.1788)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B248C #858C24
analogous
#24518C #2B248C #5F248C
triadic
#2B248C #8C2B24 #248C2B
tetradic
#2B248C #8C2451 #858C24 #248C5F
square
#2B248C #8C2451 #858C24 #248C5F
split-complementary
#2B248C #8C5F24 #518C24
monochromatic
#0D0B2B #1C175B #2B248C #3A31BD #5F57D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B248C#FFFFFF#000000##FFFFFF
##2B248C1.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)
#003A8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b248c;
/* rgb */ color: rgb(43, 36, 140);
/* oklch */ color: oklch(34.8% 0.164 276.6);
Tailwind
colors: {
  custom: {
    50: '#7360af',
    500: '#2b248c',
    950: '#000000',
  },
}
SCSS
$custom: #2b248c;
$custom-light: #7360af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b248c",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 244.038,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34807,
    "c": 0.16378,
    "h": 276.6
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#2B248C
secondary
#B1B854
accent
#E246D8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B248C

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

Preview Lab → · Contrast checker → · Palette generator →

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