#2B48A3#2B48A3

#2B48A3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.151 H 266.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2B48A3
RGBrgb(43, 72, 163)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(73.6%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.55, 21.87, -52.39)
CIE-LCHlch(33.55, 56.77, 292.66°)
OKLaboklab(43.52% -0.0089 -0.1509)
OKLCHoklch(43.52% 0.151 266.6)
XYZxyz(9.9222, 7.7916, 35.6242)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48A3 #A3862B
analogous
#2B84A3 #2B48A3 #4A2BA3
triadic
#2B48A3 #A32B48 #48A32B
tetradic
#2B48A3 #A32B84 #A3862B #2BA34A
square
#2B48A3 #A32B84 #A3862B #2BA34A
split-complementary
#2B48A3 #A34A2B #84A32B
monochromatic
#111D42 #1E3373 #2B48A3 #3F61CC #6F89D9

Accessibility & contrast

On white

8.21
#2B48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B48A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48A3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48A3#FFFFFF#000000##FFFFFF
##2B48A31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b48a3;
/* rgb */ color: rgb(43, 72, 163);
/* oklch */ color: oklch(43.5% 0.151 266.6);
Tailwind
colors: {
  custom: {
    50: '#757abf',
    500: '#2b48a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b48a3;
$custom-light: #757abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48a3",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 225.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.1512,
    "h": 266.6
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#2B48A3
secondary
#C0AB6A
accent
#BC46E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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