#2B248A#2B248A

#2B248A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.161 H 276.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2B248A
RGBrgb(43, 36, 138)
HSLhsl(244, 59%, 34%)
HSVhsv(244, 74%, 54%)
CMYKcmyk(68.8%, 73.9%, 0%, 45.9%)
CIE-LABlab(22.34, 36.17, -55.40)
CIE-LCHlch(22.34, 66.16, 303.14°)
OKLaboklab(34.6% 0.0193 -0.16)
OKLCHoklch(34.6% 0.161 276.9)
XYZxyz(6.2131, 3.6098, 24.4092)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B248A #838A24
analogous
#24508A #2B248A #5E248A
triadic
#2B248A #8A2B24 #248A2B
tetradic
#2B248A #8A2450 #838A24 #248A5E
square
#2B248A #8A2450 #838A24 #248A5E
split-complementary
#2B248A #8A5E24 #508A24
monochromatic
#0D0B29 #1C1759 #2B248A #3A31BB #5E56D3

Accessibility & contrast

On white

12.20
#2B248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B248A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B248A#FFFFFF#000000##FFFFFF
##2B248A1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b248a;
/* rgb */ color: rgb(43, 36, 138);
/* oklch */ color: oklch(34.6% 0.161 276.9);
Tailwind
colors: {
  custom: {
    50: '#7260ad',
    500: '#2b248a',
    950: '#000000',
  },
}
SCSS
$custom: #2b248a;
$custom-light: #7260ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b248a",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 244.118,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.16118,
    "h": 276.9
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#2B248A
secondary
#B0B753
accent
#E246D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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