#2248B2#2248B2

#2248B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.174 H 264.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2248B2
RGBrgb(34, 72, 178)
HSLhsl(224, 68%, 42%)
HSVhsv(224, 81%, 70%)
CMYKcmyk(80.9%, 59.6%, 0%, 30.2%)
CIE-LABlab(34.37, 26.62, -60.01)
CIE-LCHlch(34.37, 65.65, 293.92°)
OKLaboklab(44.41% -0.0154 -0.1735)
OKLCHoklch(44.41% 0.174 264.9)
XYZxyz(11.0101, 8.1879, 43.1110)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2248B2 #B28C22
analogous
#2290B2 #2248B2 #4422B2
triadic
#2248B2 #B22248 #48B222
tetradic
#2248B2 #B22290 #B28C22 #22B244
square
#2248B2 #B22290 #B28C22 #22B244
split-complementary
#2248B2 #B24422 #90B222
monochromatic
#0E1E4B #18337F #2248B2 #3863D9 #6C8BE3

Accessibility & contrast

On white

7.96
#2248B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2248B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2248B2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2248B2#FFFFFF#000000##FFFFFF
##2248B21.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2248b2;
/* rgb */ color: rgb(34, 72, 178);
/* oklch */ color: oklch(44.4% 0.174 264.9);
Tailwind
colors: {
  custom: {
    50: '#767aca',
    500: '#2248b2',
    950: '#000000',
  },
}
SCSS
$custom: #2248b2;
$custom-light: #767aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2248b2",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 224.167,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44409,
    "c": 0.17418,
    "h": 264.9
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#2248B2
secondary
#C9AF67
accent
#BD3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2248B2

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

Preview Lab → · Contrast checker → · Palette generator →

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