#1948B3#1948B3

#1948B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.178 H 263.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1948B3
RGBrgb(25, 72, 179)
HSLhsl(222, 75%, 40%)
HSVhsv(222, 86%, 70%)
CMYKcmyk(86%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.18, 26.27, -60.93)
CIE-LCHlch(34.18, 66.35, 293.33°)
OKLaboklab(44.21% -0.0212 -0.1763)
OKLCHoklch(44.21% 0.178 263.2)
XYZxyz(10.8520, 8.0947, 43.6296)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1948B3 #B38419
analogous
#1995B3 #1948B3 #3719B3
triadic
#1948B3 #B31948 #48B319
tetradic
#1948B3 #B31995 #B38419 #19B337
square
#1948B3 #B31995 #B38419 #19B337
split-complementary
#1948B3 #B33719 #95B319
monochromatic
#0A1D48 #12327D #1948B3 #2861E1 #5E88E8

Accessibility & contrast

On white

8.02
#1948B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1948B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1948B3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1948B3#FFFFFF#000000##FFFFFF
##1948B31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1948b3;
/* rgb */ color: rgb(25, 72, 179);
/* oklch */ color: oklch(44.2% 0.178 263.2);
Tailwind
colors: {
  custom: {
    50: '#747acb',
    500: '#1948b3',
    950: '#000000',
  },
}
SCSS
$custom: #1948b3;
$custom-light: #747acb;
$custom-dark: #000000;
JSON
{
  "hex": "#1948b3",
  "rgb": {
    "r": 25,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 221.688,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.17758,
    "h": 263.2
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#1948B3
secondary
#CCAA5B
accent
#B936F2
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1948B3

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

Preview Lab → · Contrast checker → · Palette generator →

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