#1938CA#1938CA

#1938CA is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.6% C 0.225 H 266.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1938CA
RGBrgb(25, 56, 202)
HSLhsl(229, 78%, 45%)
HSVhsv(229, 88%, 79%)
CMYKcmyk(87.6%, 72.3%, 0%, 20.8%)
CIE-LABlab(32.48, 45.13, -77.25)
CIE-LCHlch(32.48, 89.47, 300.30°)
OKLaboklab(43.62% -0.0155 -0.224)
OKLCHoklch(43.62% 0.225 266)
XYZxyz(12.4720, 7.2977, 56.6169)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1938CA #CAAB19
analogous
#1990CA #1938CA #5319CA
triadic
#1938CA #CA1938 #38CA19
tetradic
#1938CA #CA1990 #CAAB19 #19CA53
square
#1938CA #CA1990 #CAAB19 #19CA53
split-complementary
#1938CA #CA5319 #90CA19
monochromatic
#0C1A5D #122994 #1938CA #3A58E7 #7086ED

Accessibility & contrast

On white

8.54
#1938CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1938CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1938CA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1938CA#FFFFFF#000000##FFFFFF
##1938CA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1938ca;
/* rgb */ color: rgb(25, 56, 202);
/* oklch */ color: oklch(43.6% 0.225 266.0);
Tailwind
colors: {
  custom: {
    50: '#7b6fdc',
    500: '#1938ca',
    950: '#000000',
  },
}
SCSS
$custom: #1938ca;
$custom-light: #7b6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#1938ca",
  "rgb": {
    "r": 25,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 229.492,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.22457,
    "h": 266
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#1938CA
secondary
#D4C16B
accent
#D333F4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #1938CA

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

Preview Lab → · Contrast checker → · Palette generator →

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