#1948A8#1948A8

#1948A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.163 H 262.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1948A8
RGBrgb(25, 72, 168)
HSLhsl(220, 74%, 38%)
HSVhsv(220, 85%, 66%)
CMYKcmyk(85.1%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.28, 21.91, -55.85)
CIE-LCHlch(33.28, 59.99, 291.42°)
OKLaboklab(43.26% -0.0218 -0.1614)
OKLCHoklch(43.26% 0.163 262.3)
XYZxyz(9.7836, 7.6673, 38.0025)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1948A8 #A87919
analogous
#198FA8 #1948A8 #3219A8
triadic
#1948A8 #A81948 #48A819
tetradic
#1948A8 #A8198F #A87919 #19A832
square
#1948A8 #A8198F #A87919 #19A832
split-complementary
#1948A8 #A83219 #8FA819
monochromatic
#091A3D #113173 #1948A8 #215FDD #5685E6

Accessibility & contrast

On white

8.29
#1948A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1948A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1948A8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1948A8#FFFFFF#000000##FFFFFF
##1948A81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1948a8;
/* rgb */ color: rgb(25, 72, 168);
/* oklch */ color: oklch(43.3% 0.163 262.3);
Tailwind
colors: {
  custom: {
    50: '#717ac3',
    500: '#1948a8',
    950: '#000000',
  },
}
SCSS
$custom: #1948a8;
$custom-light: #717ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#1948a8",
  "rgb": {
    "r": 25,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 220.28,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.16287,
    "h": 262.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#1948A8
secondary
#C9A254
accent
#B437F1
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1948A8

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

Preview Lab → · Contrast checker → · Palette generator →

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