#2B248B#2B248B

#2B248B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.162 H 276.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2B248B
RGBrgb(43, 36, 139)
HSLhsl(244, 59%, 34%)
HSVhsv(244, 74%, 55%)
CMYKcmyk(69.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(22.44, 36.51, -55.85)
CIE-LCHlch(22.44, 66.73, 303.17°)
OKLaboklab(34.7% 0.0191 -0.1613)
OKLCHoklch(34.7% 0.162 276.8)
XYZxyz(6.2858, 3.6389, 24.7922)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B248B #848B24
analogous
#24518B #2B248B #5F248B
triadic
#2B248B #8B2B24 #248B2B
tetradic
#2B248B #8B2451 #848B24 #248B5F
square
#2B248B #8B2451 #848B24 #248B5F
split-complementary
#2B248B #8B5F24 #518B24
monochromatic
#0D0B2A #1C175A #2B248B #3A31BC #5F56D3

Accessibility & contrast

On white

12.15
#2B248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B248B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B248B#FFFFFF#000000##FFFFFF
##2B248B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b248b;
/* rgb */ color: rgb(43, 36, 139);
/* oklch */ color: oklch(34.7% 0.162 276.8);
Tailwind
colors: {
  custom: {
    50: '#7360ae',
    500: '#2b248b',
    950: '#000000',
  },
}
SCSS
$custom: #2b248b;
$custom-light: #7360ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b248b",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 244.078,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34703,
    "c": 0.16248,
    "h": 276.8
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B248B

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

Preview Lab → · Contrast checker → · Palette generator →

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