#2B48B0#2B48B0

#2B48B0 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.169 H 267.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2B48B0
RGBrgb(43, 72, 176)
HSLhsl(227, 61%, 43%)
HSVhsv(227, 76%, 69%)
CMYKcmyk(75.6%, 59.1%, 0%, 31%)
CIE-LABlab(34.56, 26.80, -58.50)
CIE-LCHlch(34.56, 64.35, 294.62°)
OKLaboklab(44.6% -0.0083 -0.1689)
OKLCHoklch(44.6% 0.169 267.2)
XYZxyz(11.1474, 8.2817, 42.0769)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48B0 #B0932B
analogous
#2B8BB0 #2B48B0 #502BB0
triadic
#2B48B0 #B02B48 #48B02B
tetradic
#2B48B0 #B02B8B #B0932B #2BB050
square
#2B48B0 #B02B8B #B0932B #2BB050
split-complementary
#2B48B0 #B0502B #8BB02B
monochromatic
#13204E #1F347F #2B48B0 #4665D2 #788EDE

Accessibility & contrast

On white

7.90
#2B48B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B48B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48B0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48B0#FFFFFF#000000##FFFFFF
##2B48B01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b48b0;
/* rgb */ color: rgb(43, 72, 176);
/* oklch */ color: oklch(44.6% 0.169 267.2);
Tailwind
colors: {
  custom: {
    50: '#787ac8',
    500: '#2b48b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b48b0;
$custom-light: #787ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48b0",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 226.917,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.446,
    "c": 0.16909,
    "h": 267.2
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#2B48B0
secondary
#C6B371
accent
#C144E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B48B0

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

Preview Lab → · Contrast checker → · Palette generator →

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