#1948BC#1948BC

#1948BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.189 H 263.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1948BC
RGBrgb(25, 72, 188)
HSLhsl(223, 77%, 42%)
HSVhsv(223, 87%, 74%)
CMYKcmyk(86.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(34.94, 29.79, -64.99)
CIE-LCHlch(34.94, 71.49, 294.62°)
OKLaboklab(45.02% -0.0209 -0.1882)
OKLCHoklch(45.02% 0.189 263.7)
XYZxyz(11.7921, 8.4707, 48.5807)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1948BC #BC8D19
analogous
#199ABC #1948BC #3B19BC
triadic
#1948BC #BC1948 #48BC19
tetradic
#1948BC #BC199A #BC8D19 #19BC3B
square
#1948BC #BC199A #BC8D19 #19BC3B
split-complementary
#1948BC #BC3B19 #9ABC19
monochromatic
#0B1F50 #123386 #1948BC #2F63E3 #658BEB

Accessibility & contrast

On white

7.79
#1948BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1948BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1948BC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1948BC#FFFFFF#000000##FFFFFF
##1948BC1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1948bc;
/* rgb */ color: rgb(25, 72, 188);
/* oklch */ color: oklch(45.0% 0.189 263.7);
Tailwind
colors: {
  custom: {
    50: '#767ad1',
    500: '#1948bc',
    950: '#000000',
  },
}
SCSS
$custom: #1948bc;
$custom-light: #767ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#1948bc",
  "rgb": {
    "r": 25,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 222.699,
    "s": 76.526,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.18937,
    "h": 263.7
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#1948BC
secondary
#CFB061
accent
#BC35F3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0A0914
muted
#7C7B83

Preview Lab

Preview with #1948BC

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

Preview Lab → · Contrast checker → · Palette generator →

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