#2B48A5#2B48A5

#2B48A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.154 H 266.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2B48A5
RGBrgb(43, 72, 165)
HSLhsl(226, 59%, 41%)
HSVhsv(226, 74%, 65%)
CMYKcmyk(73.9%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.70, 22.63, -53.34)
CIE-LCHlch(33.70, 57.95, 292.99°)
OKLaboklab(43.68% -0.0088 -0.1537)
OKLCHoklch(43.68% 0.154 266.7)
XYZxyz(10.1028, 7.8639, 36.5755)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48A5 #A5882B
analogous
#2B85A5 #2B48A5 #4B2BA5
triadic
#2B48A5 #A52B48 #48A52B
tetradic
#2B48A5 #A52B85 #A5882B #2BA54B
square
#2B48A5 #A52B85 #A5882B #2BA54B
split-complementary
#2B48A5 #A54B2B #85A52B
monochromatic
#121E44 #1E3374 #2B48A5 #4062CD #718ADA

Accessibility & contrast

On white

8.16
#2B48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B48A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48A5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48A5#FFFFFF#000000##FFFFFF
##2B48A51.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b48a5;
/* rgb */ color: rgb(43, 72, 165);
/* oklch */ color: oklch(43.7% 0.154 266.7);
Tailwind
colors: {
  custom: {
    50: '#767ac0',
    500: '#2b48a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b48a5;
$custom-light: #767ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48a5",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 225.738,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4368,
    "c": 0.15399,
    "h": 266.7
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#2B48A5
secondary
#C1AD6B
accent
#BD46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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