#1939B4#1939B4

#1939B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.197 H 265.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1939B4
RGBrgb(25, 57, 180)
HSLhsl(228, 76%, 40%)
HSVhsv(228, 86%, 71%)
CMYKcmyk(86.1%, 68.3%, 0%, 29.4%)
CIE-LABlab(30.46, 36.54, -67.62)
CIE-LCHlch(30.46, 76.86, 298.39°)
OKLaboklab(41.49% -0.0142 -0.196)
OKLCHoklch(41.49% 0.197 265.9)
XYZxyz(10.0994, 6.4269, 43.8794)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1939B4 #B49419
analogous
#1986B4 #1939B4 #4719B4
triadic
#1939B4 #B41939 #39B419
tetradic
#1939B4 #B41986 #B49419 #19B447
square
#1939B4 #B41986 #B49419 #19B447
split-complementary
#1939B4 #B44719 #86B419
monochromatic
#0A1749 #12287E #1939B4 #294FE1 #5F7BE9

Accessibility & contrast

On white

9.19
#1939B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1939B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1939B4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1939B4#FFFFFF#000000##FFFFFF
##1939B41.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1939b4;
/* rgb */ color: rgb(25, 57, 180);
/* oklch */ color: oklch(41.5% 0.197 265.9);
Tailwind
colors: {
  custom: {
    50: '#756fcc',
    500: '#1939b4',
    950: '#000000',
  },
}
SCSS
$custom: #1939b4;
$custom-light: #756fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1939b4",
  "rgb": {
    "r": 25,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 227.613,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.19653,
    "h": 265.9
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#1939B4
secondary
#CDB65C
accent
#CB36F2
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1939B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1939B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva