#2848AF#2848AF

#2848AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.169 H 266.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2848AF
RGBrgb(40, 72, 175)
HSLhsl(226, 63%, 42%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(77.1%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.35, 26.08, -58.25)
CIE-LCHlch(34.35, 63.82, 294.12°)
OKLaboklab(44.38% -0.0109 -0.1682)
OKLCHoklch(44.38% 0.169 266.3)
XYZxyz(10.9276, 8.1798, 41.5521)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848AF #AF8F28
analogous
#288CAF #2848AF #4C28AF
triadic
#2848AF #AF2848 #48AF28
tetradic
#2848AF #AF288C #AF8F28 #28AF4C
square
#2848AF #AF288C #AF8F28 #28AF4C
split-complementary
#2848AF #AF4C28 #8CAF28
monochromatic
#111F4B #1D347D #2848AF #4163D4 #738CDF

Accessibility & contrast

On white

7.97
#2848AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2848AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848AF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848AF#FFFFFF#000000##FFFFFF
##2848AF1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2848af;
/* rgb */ color: rgb(40, 72, 175);
/* oklch */ color: oklch(44.4% 0.169 266.3);
Tailwind
colors: {
  custom: {
    50: '#777ac8',
    500: '#2848af',
    950: '#000000',
  },
}
SCSS
$custom: #2848af;
$custom-light: #777ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2848af",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 225.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.16857,
    "h": 266.3
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#2848AF
secondary
#C6B16D
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848AF

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

Preview Lab → · Contrast checker → · Palette generator →

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