#2A48B3#2A48B3

#2A48B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.173 H 267.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2A48B3
RGBrgb(42, 72, 179)
HSLhsl(227, 62%, 43%)
HSVhsv(227, 77%, 70%)
CMYKcmyk(76.5%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.76, 27.82, -59.95)
CIE-LCHlch(34.76, 66.09, 294.89°)
OKLaboklab(44.81% -0.0091 -0.1732)
OKLCHoklch(44.81% 0.173 267)
XYZxyz(11.4061, 8.3804, 43.6555)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48B3 #B3952A
analogous
#2A8CB3 #2A48B3 #502AB3
triadic
#2A48B3 #B32A48 #48B32A
tetradic
#2A48B3 #B32A8C #B3952A #2AB350
square
#2A48B3 #B32A8C #B3952A #2AB350
split-complementary
#2A48B3 #B3502A #8CB32A
monochromatic
#132050 #1E3481 #2A48B3 #4665D4 #788FDF

Accessibility & contrast

On white

7.85
#2A48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A48B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48B3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48B3#FFFFFF#000000##FFFFFF
##2A48B31.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a48b3;
/* rgb */ color: rgb(42, 72, 179);
/* oklch */ color: oklch(44.8% 0.173 267.0);
Tailwind
colors: {
  custom: {
    50: '#797acb',
    500: '#2a48b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a48b3;
$custom-light: #797acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48b3",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 226.861,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.17342,
    "h": 267
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#2A48B3
secondary
#C7B472
accent
#C243E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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