#1937B4#1937B4

#1937B4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.199 H 266.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1937B4
RGBrgb(25, 55, 180)
HSLhsl(228, 76%, 40%)
HSVhsv(228, 86%, 71%)
CMYKcmyk(86.1%, 69.4%, 0%, 29.4%)
CIE-LABlab(29.99, 37.82, -68.39)
CIE-LCHlch(29.99, 78.15, 298.94°)
OKLaboklab(41.15% -0.0135 -0.1983)
OKLCHoklch(41.15% 0.199 266.1)
XYZxyz(10.0024, 6.2331, 43.8471)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1937B4 #B49619
analogous
#1985B4 #1937B4 #4819B4
triadic
#1937B4 #B41937 #37B419
tetradic
#1937B4 #B41985 #B49619 #19B448
square
#1937B4 #B41985 #B49619 #19B448
split-complementary
#1937B4 #B44819 #85B419
monochromatic
#0A1649 #12277E #1937B4 #294DE1 #5F79E9

Accessibility & contrast

On white

9.35
#1937B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1937B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1937B4
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1937B4#FFFFFF#000000##FFFFFF
##1937B41.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1937b4;
/* rgb */ color: rgb(25, 55, 180);
/* oklch */ color: oklch(41.1% 0.199 266.1);
Tailwind
colors: {
  custom: {
    50: '#766ecc',
    500: '#1937b4',
    950: '#000000',
  },
}
SCSS
$custom: #1937b4;
$custom-light: #766ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#1937b4",
  "rgb": {
    "r": 25,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 228.387,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.19875,
    "h": 266.1
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#1937B4
secondary
#CDB75C
accent
#CE36F2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1937B4

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

Preview Lab → · Contrast checker → · Palette generator →

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