#2848B3#2848B3

#2848B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.174 H 266.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2848B3
RGBrgb(40, 72, 179)
HSLhsl(226, 63%, 43%)
HSVhsv(226, 78%, 70%)
CMYKcmyk(77.7%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.68, 27.60, -60.09)
CIE-LCHlch(34.68, 66.13, 294.67°)
OKLaboklab(44.73% -0.0108 -0.1736)
OKLCHoklch(44.73% 0.174 266.4)
XYZxyz(11.3263, 8.3392, 43.6518)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848B3 #B39328
analogous
#288DB3 #2848B3 #4D28B3
triadic
#2848B3 #B32848 #48B328
tetradic
#2848B3 #B3288D #B39328 #28B34D
square
#2848B3 #B3288D #B39328 #28B34D
split-complementary
#2848B3 #B34D28 #8DB328
monochromatic
#12204F #1D3481 #2848B3 #4365D5 #758EE0

Accessibility & contrast

On white

7.87
#2848B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2848B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848B3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848B3#FFFFFF#000000##FFFFFF
##2848B31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2848b3;
/* rgb */ color: rgb(40, 72, 179);
/* oklch */ color: oklch(44.7% 0.174 266.4);
Tailwind
colors: {
  custom: {
    50: '#787acb',
    500: '#2848b3',
    950: '#000000',
  },
}
SCSS
$custom: #2848b3;
$custom-light: #787acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2848b3",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 226.187,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.17396,
    "h": 266.4
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#2848B3
secondary
#C8B36F
accent
#C041E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2848B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva