#2B48A1#2B48A1

#2B48A1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.148 H 266.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2B48A1
RGBrgb(43, 72, 161)
HSLhsl(225, 58%, 40%)
HSVhsv(225, 73%, 63%)
CMYKcmyk(73.3%, 55.3%, 0%, 36.9%)
CIE-LABlab(33.39, 21.11, -51.43)
CIE-LCHlch(33.39, 55.60, 292.31°)
OKLaboklab(43.36% -0.009 -0.1481)
OKLCHoklch(43.36% 0.148 266.5)
XYZxyz(9.7444, 7.7205, 34.6880)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48A1 #A1842B
analogous
#2B83A1 #2B48A1 #492BA1
triadic
#2B48A1 #A12B48 #48A12B
tetradic
#2B48A1 #A12B83 #A1842B #2BA149
square
#2B48A1 #A12B83 #A1842B #2BA149
split-complementary
#2B48A1 #A1492B #83A12B
monochromatic
#111D40 #1E3271 #2B48A1 #3E61CB #6E88D8

Accessibility & contrast

On white

8.25
#2B48A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B48A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48A1
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48A1#FFFFFF#000000##FFFFFF
##2B48A11.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b48a1;
/* rgb */ color: rgb(43, 72, 161);
/* oklch */ color: oklch(43.4% 0.148 266.5);
Tailwind
colors: {
  custom: {
    50: '#757abd',
    500: '#2b48a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b48a1;
$custom-light: #757abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48a1",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 225.254,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.14839,
    "h": 266.5
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#2B48A1
secondary
#BFAA69
accent
#BB47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B48A1

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

Preview Lab → · Contrast checker → · Palette generator →

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