#2B248D#2B248D

#2B248D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.165 H 276.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2B248D
RGBrgb(43, 36, 141)
HSLhsl(244, 59%, 35%)
HSVhsv(244, 74%, 55%)
CMYKcmyk(69.5%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.65, 37.19, -56.76)
CIE-LCHlch(22.65, 67.86, 303.23°)
OKLaboklab(34.91% 0.0187 -0.164)
OKLCHoklch(34.91% 0.165 276.5)
XYZxyz(6.4333, 3.6979, 25.5689)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B248D #868D24
analogous
#24528D #2B248D #60248D
triadic
#2B248D #8D2B24 #248D2B
tetradic
#2B248D #8D2452 #868D24 #248D60
square
#2B248D #8D2452 #868D24 #248D60
split-complementary
#2B248D #8D6024 #528D24
monochromatic
#0D0B2B #1C185C #2B248D #3A30BE #6057D4

Accessibility & contrast

On white

12.07
#2B248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B248D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B248D#FFFFFF#000000##FFFFFF
##2B248D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b248d;
/* rgb */ color: rgb(43, 36, 141);
/* oklch */ color: oklch(34.9% 0.165 276.5);
Tailwind
colors: {
  custom: {
    50: '#7360af',
    500: '#2b248d',
    950: '#000000',
  },
}
SCSS
$custom: #2b248d;
$custom-light: #7360af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b248d",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 244,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34912,
    "c": 0.16507,
    "h": 276.5
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#2B248D
secondary
#B2B854
accent
#E345D8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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