#1F46AE#1F46AE

#1F46AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.172 H 264.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1F46AE
RGBrgb(31, 70, 174)
HSLhsl(224, 70%, 40%)
HSVhsv(224, 82%, 68%)
CMYKcmyk(82.2%, 59.8%, 0%, 31.8%)
CIE-LABlab(33.41, 26.13, -59.22)
CIE-LCHlch(33.41, 64.73, 293.81°)
OKLaboklab(43.56% -0.0165 -0.1712)
OKLCHoklch(43.56% 0.172 264.5)
XYZxyz(10.3925, 7.7264, 40.9798)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F46AE #AE871F
analogous
#1F8EAE #1F46AE #3F1FAE
triadic
#1F46AE #AE1F46 #46AE1F
tetradic
#1F46AE #AE1F8E #AE871F #1FAE3F
square
#1F46AE #AE1F8E #AE871F #1FAE3F
split-complementary
#1F46AE #AE3F1F #8EAE1F
monochromatic
#0C1C46 #16317A #1F46AE #305EDA #6487E3

Accessibility & contrast

On white

8.25
#1F46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1F46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F46AE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F46AE#FFFFFF#000000##FFFFFF
##1F46AE1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f46ae;
/* rgb */ color: rgb(31, 70, 174);
/* oklch */ color: oklch(43.6% 0.172 264.5);
Tailwind
colors: {
  custom: {
    50: '#7479c7',
    500: '#1f46ae',
    950: '#000000',
  },
}
SCSS
$custom: #1f46ae;
$custom-light: #7479c7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f46ae",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 223.636,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.17202,
    "h": 264.5
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#1F46AE
secondary
#C8AC60
accent
#BC3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1F46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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