#2248A8#2248A8

#2248A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.161 H 264.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2248A8
RGBrgb(34, 72, 168)
HSLhsl(223, 66%, 40%)
HSVhsv(223, 80%, 66%)
CMYKcmyk(79.8%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.56, 22.74, -55.37)
CIE-LCHlch(33.56, 59.86, 292.32°)
OKLaboklab(43.55% -0.0159 -0.1599)
OKLCHoklch(43.55% 0.161 264.3)
XYZxyz(10.0424, 7.8008, 38.0146)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2248A8 #A88222
analogous
#228BA8 #2248A8 #3F22A8
triadic
#2248A8 #A82248 #48A822
tetradic
#2248A8 #A8228B #A88222 #22A83F
square
#2248A8 #A8228B #A88222 #22A83F
split-complementary
#2248A8 #A83F22 #8BA822
monochromatic
#0D1C42 #183275 #2248A8 #3260D5 #6588E0

Accessibility & contrast

On white

8.20
#2248A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2248A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2248A8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2248A8#FFFFFF#000000##FFFFFF
##2248A81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2248a8;
/* rgb */ color: rgb(34, 72, 168);
/* oklch */ color: oklch(43.6% 0.161 264.3);
Tailwind
colors: {
  custom: {
    50: '#737ac3',
    500: '#2248a8',
    950: '#000000',
  },
}
SCSS
$custom: #2248a8;
$custom-light: #737ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2248a8",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 222.985,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43551,
    "c": 0.16066,
    "h": 264.3
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#2248A8
secondary
#C5A961
accent
#B93FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2248A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2248A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva