#2B48AC#2B48AC

#2B48AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.164 H 267.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B48AC
RGBrgb(43, 72, 172)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(75%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.24, 25.29, -56.64)
CIE-LCHlch(34.24, 62.03, 294.06°)
OKLaboklab(44.26% -0.0084 -0.1634)
OKLCHoklch(44.26% 0.164 267)
XYZxyz(10.7574, 8.1257, 40.0232)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48AC #AC8F2B
analogous
#2B88AC #2B48AC #4F2BAC
triadic
#2B48AC #AC2B48 #48AC2B
tetradic
#2B48AC #AC2B88 #AC8F2B #2BAC4F
square
#2B48AC #AC2B88 #AC8F2B #2BAC4F
split-complementary
#2B48AC #AC4F2B #88AC2B
monochromatic
#131F4A #1F347B #2B48AC #4463D0 #758CDC

Accessibility & contrast

On white

8.00
#2B48AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B48AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48AC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48AC#FFFFFF#000000##FFFFFF
##2B48AC1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b48ac;
/* rgb */ color: rgb(43, 72, 172);
/* oklch */ color: oklch(44.3% 0.164 267.0);
Tailwind
colors: {
  custom: {
    50: '#777ac6',
    500: '#2b48ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b48ac;
$custom-light: #777ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48ac",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 226.512,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44261,
    "c": 0.16365,
    "h": 267
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#2B48AC
secondary
#C4B16F
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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