#1946B4#1946B4

#1946B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.181 H 263.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1946B4
RGBrgb(25, 70, 180)
HSLhsl(223, 76%, 40%)
HSVhsv(223, 86%, 71%)
CMYKcmyk(86.1%, 61.1%, 0%, 29.4%)
CIE-LABlab(33.73, 28.00, -62.25)
CIE-LCHlch(33.73, 68.26, 294.22°)
OKLaboklab(43.91% -0.0201 -0.1802)
OKLCHoklch(43.91% 0.181 263.6)
XYZxyz(10.8263, 7.8809, 44.1217)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1946B4 #B48719
analogous
#1993B4 #1946B4 #3A19B4
triadic
#1946B4 #B41946 #46B419
tetradic
#1946B4 #B41993 #B48719 #19B43A
square
#1946B4 #B41993 #B48719 #19B43A
split-complementary
#1946B4 #B43A19 #93B419
monochromatic
#0A1C49 #12317E #1946B4 #295EE1 #5F87E9

Accessibility & contrast

On white

8.15
#1946B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1946B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1946B4
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1946B4#FFFFFF#000000##FFFFFF
##1946B41.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1946b4;
/* rgb */ color: rgb(25, 70, 180);
/* oklch */ color: oklch(43.9% 0.181 263.6);
Tailwind
colors: {
  custom: {
    50: '#7478cb',
    500: '#1946b4',
    950: '#000000',
  },
}
SCSS
$custom: #1946b4;
$custom-light: #7478cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1946b4",
  "rgb": {
    "r": 25,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 222.581,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.18133,
    "h": 263.6
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#1946B4
secondary
#CDAC5C
accent
#BB36F2
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1946B4

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

Preview Lab → · Contrast checker → · Palette generator →

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