#2A48C7#2A48C7

#2A48C7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.200 H 267.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2A48C7
RGBrgb(42, 72, 199)
HSLhsl(229, 65%, 47%)
HSVhsv(229, 79%, 78%)
CMYKcmyk(78.9%, 63.8%, 0%, 22%)
CIE-LABlab(36.46, 35.26, -68.92)
CIE-LCHlch(36.46, 77.42, 297.09°)
OKLaboklab(46.59% -0.0092 -0.1995)
OKLCHoklch(46.59% 0.2 267.3)
XYZxyz(13.5774, 9.2489, 55.0914)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48C7 #C7A92A
analogous
#2A97C7 #2A48C7 #5B2AC7
triadic
#2A48C7 #C72A48 #48C72A
tetradic
#2A48C7 #C72A97 #C7A92A #2AC75B
square
#2A48C7 #C72A97 #C7A92A #2AC75B
split-complementary
#2A48C7 #C75B2A #97C72A
monochromatic
#152362 #1F3694 #2A48C7 #536DDB #8698E5

Accessibility & contrast

On white

7.37
#2A48C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A48C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48C7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48C7#FFFFFF#000000##FFFFFF
##2A48C71.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a48c7;
/* rgb */ color: rgb(42, 72, 199);
/* oklch */ color: oklch(46.6% 0.200 267.3);
Tailwind
colors: {
  custom: {
    50: '#7d7ad9',
    500: '#2a48c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a48c7;
$custom-light: #7d7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48c7",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 228.535,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.19967,
    "h": 267.3
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#2A48C7
secondary
#CFBF7E
accent
#C840E8
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2A48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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