#2B248F#2B248F

#2B248F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.168 H 276.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2B248F
RGBrgb(43, 36, 143)
HSLhsl(244, 60%, 35%)
HSVhsv(244, 75%, 56%)
CMYKcmyk(69.9%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.85, 37.86, -57.66)
CIE-LCHlch(22.85, 68.98, 303.29°)
OKLaboklab(35.12% 0.0183 -0.1666)
OKLCHoklch(35.12% 0.168 276.3)
XYZxyz(6.5834, 3.7579, 26.3597)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B248F #888F24
analogous
#24538F #2B248F #60248F
triadic
#2B248F #8F2B24 #248F2B
tetradic
#2B248F #8F2453 #888F24 #248F60
square
#2B248F #8F2453 #888F24 #248F60
split-complementary
#2B248F #8F6024 #538F24
monochromatic
#0E0B2D #1C185E #2B248F #3A30C0 #6158D5

Accessibility & contrast

On white

11.99
#2B248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B248F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B248F#FFFFFF#000000##FFFFFF
##2B248F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b248f;
/* rgb */ color: rgb(43, 36, 143);
/* oklch */ color: oklch(35.1% 0.168 276.3);
Tailwind
colors: {
  custom: {
    50: '#7460b1',
    500: '#2b248f',
    950: '#000000',
  },
}
SCSS
$custom: #2b248f;
$custom-light: #7460b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b248f",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 243.925,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35122,
    "c": 0.16763,
    "h": 276.3
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#2B248F
secondary
#B3B955
accent
#E345D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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