#2B248E#2B248E

#2B248E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.166 H 276.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#2B248E
RGBrgb(43, 36, 142)
HSLhsl(244, 60%, 35%)
HSVhsv(244, 75%, 56%)
CMYKcmyk(69.7%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.75, 37.53, -57.21)
CIE-LCHlch(22.75, 68.42, 303.26°)
OKLaboklab(35.02% 0.0185 -0.1653)
OKLCHoklch(35.02% 0.166 276.4)
XYZxyz(6.5080, 3.7278, 25.9625)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B248E #878E24
analogous
#24528E #2B248E #60248E
triadic
#2B248E #8E2B24 #248E2B
tetradic
#2B248E #8E2452 #878E24 #248E60
square
#2B248E #8E2452 #878E24 #248E60
split-complementary
#2B248E #8E6024 #528E24
monochromatic
#0D0B2C #1C185D #2B248E #3A30BF #6058D5

Accessibility & contrast

On white

12.03
#2B248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B248E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B248E#FFFFFF#000000##FFFFFF
##2B248E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b248e;
/* rgb */ color: rgb(43, 36, 142);
/* oklch */ color: oklch(35.0% 0.166 276.4);
Tailwind
colors: {
  custom: {
    50: '#7360b0',
    500: '#2b248e',
    950: '#000000',
  },
}
SCSS
$custom: #2b248e;
$custom-light: #7360b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b248e",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 243.962,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.16635,
    "h": 276.4
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#2B248E
secondary
#B2B955
accent
#E345D8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B248E

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

Preview Lab → · Contrast checker → · Palette generator →

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