#1942A7#1942A7

#1942A7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.169 H 263.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1942A7
RGBrgb(25, 66, 167)
HSLhsl(223, 74%, 38%)
HSVhsv(223, 85%, 65%)
CMYKcmyk(85%, 60.5%, 0%, 34.5%)
CIE-LABlab(31.56, 25.58, -58.06)
CIE-LCHlch(31.56, 63.44, 293.78°)
OKLaboklab(41.94% -0.0183 -0.168)
OKLCHoklch(41.94% 0.169 263.8)
XYZxyz(9.3217, 6.8920, 37.3907)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1942A7 #A77E19
analogous
#1989A7 #1942A7 #3719A7
triadic
#1942A7 #A71942 #42A719
tetradic
#1942A7 #A71989 #A77E19 #19A737
square
#1942A7 #A71989 #A77E19 #19A737
split-complementary
#1942A7 #A73719 #89A719
monochromatic
#09183D #112D72 #1942A7 #2157DC #557FE6

Accessibility & contrast

On white

8.83
#1942A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1942A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1942A7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1942A7#FFFFFF#000000##FFFFFF
##1942A71.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1942a7;
/* rgb */ color: rgb(25, 66, 167);
/* oklch */ color: oklch(41.9% 0.169 263.8);
Tailwind
colors: {
  custom: {
    50: '#7175c2',
    500: '#1942a7',
    950: '#000000',
  },
}
SCSS
$custom: #1942a7;
$custom-light: #7175c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1942a7",
  "rgb": {
    "r": 25,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 222.676,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.16897,
    "h": 263.8
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#1942A7
secondary
#C8A753
accent
#BB37F1
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1942A7

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

Preview Lab → · Contrast checker → · Palette generator →

#1942A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva