#1F43AE#1F43AE

#1F43AE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.176 H 265.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#1F43AE
RGBrgb(31, 67, 174)
HSLhsl(225, 70%, 40%)
HSVhsv(225, 82%, 68%)
CMYKcmyk(82.2%, 61.5%, 0%, 31.8%)
CIE-LABlab(32.61, 28.14, -60.51)
CIE-LCHlch(32.61, 66.73, 294.94°)
OKLaboklab(42.96% -0.0147 -0.1751)
OKLCHoklch(42.96% 0.176 265.2)
XYZxyz(10.2095, 7.3604, 40.9188)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F43AE #AE8A1F
analogous
#1F8AAE #1F43AE #421FAE
triadic
#1F43AE #AE1F43 #43AE1F
tetradic
#1F43AE #AE1F8A #AE8A1F #1FAE42
square
#1F43AE #AE1F8A #AE8A1F #1FAE42
split-complementary
#1F43AE #AE421F #8AAE1F
monochromatic
#0C1B46 #162F7A #1F43AE #305BDA #6484E3

Accessibility & contrast

On white

8.49
#1F43AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1F43AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F43AE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F43AE#FFFFFF#000000##FFFFFF
##1F43AE1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f43ae;
/* rgb */ color: rgb(31, 67, 174);
/* oklch */ color: oklch(43.0% 0.176 265.2);
Tailwind
colors: {
  custom: {
    50: '#7476c7',
    500: '#1f43ae',
    950: '#000000',
  },
}
SCSS
$custom: #1f43ae;
$custom-light: #7476c7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f43ae",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 224.895,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42964,
    "c": 0.17569,
    "h": 265.2
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#1F43AE
secondary
#C8AE60
accent
#C03BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1F43AE

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

Preview Lab → · Contrast checker → · Palette generator →

#1F43AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva