#1F46AF#1F46AF

#1F46AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.173 H 264.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#1F46AF
RGBrgb(31, 70, 175)
HSLhsl(224, 70%, 40%)
HSVhsv(224, 82%, 69%)
CMYKcmyk(82.3%, 60%, 0%, 31.4%)
CIE-LABlab(33.49, 26.52, -59.68)
CIE-LCHlch(33.49, 65.30, 293.96°)
OKLaboklab(43.64% -0.0164 -0.1726)
OKLCHoklch(43.64% 0.173 264.6)
XYZxyz(10.4903, 7.7655, 41.4951)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F46AF #AF881F
analogous
#1F8EAF #1F46AF #401FAF
triadic
#1F46AF #AF1F46 #46AF1F
tetradic
#1F46AF #AF1F8E #AF881F #1FAF40
square
#1F46AF #AF1F8E #AF881F #1FAF40
split-complementary
#1F46AF #AF401F #8EAF1F
monochromatic
#0D1C47 #16317B #1F46AF #315FDA #6587E4

Accessibility & contrast

On white

8.22
#1F46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F46AF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F46AF#FFFFFF#000000##FFFFFF
##1F46AF1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f46af;
/* rgb */ color: rgb(31, 70, 175);
/* oklch */ color: oklch(43.6% 0.173 264.6);
Tailwind
colors: {
  custom: {
    50: '#7479c8',
    500: '#1f46af',
    950: '#000000',
  },
}
SCSS
$custom: #1f46af;
$custom-light: #7479c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f46af",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 223.75,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.17336,
    "h": 264.6
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#1F46AF
secondary
#C9AD61
accent
#BD3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1F46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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