#1937CA#1937CA

#1937CA is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.226 H 266.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1937CA
RGBrgb(25, 55, 202)
HSLhsl(230, 78%, 45%)
HSVhsv(230, 88%, 79%)
CMYKcmyk(87.6%, 72.8%, 0%, 20.8%)
CIE-LABlab(32.26, 45.73, -77.60)
CIE-LCHlch(32.26, 90.07, 300.51°)
OKLaboklab(43.46% -0.0152 -0.2251)
OKLCHoklch(43.46% 0.226 266.1)
XYZxyz(12.4240, 7.2017, 56.6009)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1937CA #CAAC19
analogous
#198FCA #1937CA #5419CA
triadic
#1937CA #CA1937 #37CA19
tetradic
#1937CA #CA198F #CAAC19 #19CA54
square
#1937CA #CA198F #CAAC19 #19CA54
split-complementary
#1937CA #CA5419 #8FCA19
monochromatic
#0C195D #122894 #1937CA #3A57E7 #7085ED

Accessibility & contrast

On white

8.60
#1937CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1937CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1937CA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1937CA#FFFFFF#000000##FFFFFF
##1937CA1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1937ca;
/* rgb */ color: rgb(25, 55, 202);
/* oklch */ color: oklch(43.5% 0.226 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c6fdc',
    500: '#1937ca',
    950: '#000000',
  },
}
SCSS
$custom: #1937ca;
$custom-light: #7c6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#1937ca",
  "rgb": {
    "r": 25,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 229.831,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.22557,
    "h": 266.1
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#1937CA
secondary
#D4C26B
accent
#D433F4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #1937CA

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

Preview Lab → · Contrast checker → · Palette generator →

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