#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 |
|---|---|
| RGB | rgb(25, 56, 202) |
| HSL | hsl(229, 78%, 45%) |
| HSV | hsv(229, 88%, 79%) |
| CMYK | cmyk(87.6%, 72.3%, 0%, 20.8%) |
| CIE-LAB | lab(32.48, 45.13, -77.25) |
| CIE-LCH | lch(32.48, 89.47, 300.30°) |
| OKLab | oklab(43.62% -0.0155 -0.224) |
| OKLCH | oklch(43.62% 0.225 266) |
| XYZ | xyz(12.4720, 7.2977, 56.6169) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.74
Blue (survey)
#0343DF
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.07
Blue With A Hint Of Purple
#533CC6
ΔE00 5.40
Vibrant Blue
#0339F8
ΔE00 5.59
Blurple
#5539CC
ΔE00 5.69
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 |
|---|---|---|---|---|
| ##1938CA | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.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