#2248B5#2248B5

#2248B5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.178 H 265.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2248B5
RGBrgb(34, 72, 181)
HSLhsl(224, 68%, 42%)
HSVhsv(224, 81%, 71%)
CMYKcmyk(81.2%, 60.2%, 0%, 29%)
CIE-LABlab(34.62, 27.77, -61.38)
CIE-LCHlch(34.62, 67.38, 294.35°)
OKLaboklab(44.67% -0.0153 -0.1775)
OKLCHoklch(44.67% 0.178 265.1)
XYZxyz(11.3146, 8.3097, 44.7147)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2248B5 #B58F22
analogous
#2291B5 #2248B5 #4622B5
triadic
#2248B5 #B52248 #48B522
tetradic
#2248B5 #B52291 #B58F22 #22B546
square
#2248B5 #B52291 #B58F22 #22B546
split-complementary
#2248B5 #B54622 #91B522
monochromatic
#0F1F4E #183481 #2248B5 #3A63DA #6E8CE4

Accessibility & contrast

On white

7.89
#2248B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2248B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2248B5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2248B5#FFFFFF#000000##FFFFFF
##2248B51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2248b5;
/* rgb */ color: rgb(34, 72, 181);
/* oklch */ color: oklch(44.7% 0.178 265.1);
Tailwind
colors: {
  custom: {
    50: '#777acc',
    500: '#2248b5',
    950: '#000000',
  },
}
SCSS
$custom: #2248b5;
$custom-light: #777acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2248b5",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 224.49,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.17818,
    "h": 265.1
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#2248B5
secondary
#CAB169
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2248B5

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

Preview Lab → · Contrast checker → · Palette generator →

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