#1945B3#1945B3

#1945B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.181 H 263.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1945B3
RGBrgb(25, 69, 179)
HSLhsl(223, 75%, 40%)
HSVhsv(223, 86%, 70%)
CMYKcmyk(86%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.38, 28.28, -62.23)
CIE-LCHlch(33.38, 68.36, 294.44°)
OKLaboklab(43.62% -0.0196 -0.1802)
OKLCHoklch(43.62% 0.181 263.8)
XYZxyz(10.6628, 7.7162, 43.5665)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1945B3 #B38719
analogous
#1992B3 #1945B3 #3A19B3
triadic
#1945B3 #B31945 #45B319
tetradic
#1945B3 #B31992 #B38719 #19B33A
square
#1945B3 #B31992 #B38719 #19B33A
split-complementary
#1945B3 #B33A19 #92B319
monochromatic
#0A1C48 #12307D #1945B3 #285DE1 #5E86E8

Accessibility & contrast

On white

8.26
#1945B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1945B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1945B3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1945B3#FFFFFF#000000##FFFFFF
##1945B31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1945b3;
/* rgb */ color: rgb(25, 69, 179);
/* oklch */ color: oklch(43.6% 0.181 263.8);
Tailwind
colors: {
  custom: {
    50: '#7478cb',
    500: '#1945b3',
    950: '#000000',
  },
}
SCSS
$custom: #1945b3;
$custom-light: #7478cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1945b3",
  "rgb": {
    "r": 25,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 222.857,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.18123,
    "h": 263.8
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#1945B3
secondary
#CCAC5B
accent
#BC36F2
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1945B3

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

Preview Lab → · Contrast checker → · Palette generator →

#1945B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva