#1F48A6#1F48A6

#1F48A6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.159 H 263.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1F48A6
RGBrgb(31, 72, 166)
HSLhsl(222, 69%, 39%)
HSVhsv(222, 81%, 65%)
CMYKcmyk(81.3%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.30, 21.65, -54.61)
CIE-LCHlch(33.30, 58.74, 291.63°)
OKLaboklab(43.28% -0.0182 -0.1577)
OKLCHoklch(43.28% 0.159 263.4)
XYZxyz(9.7629, 7.6780, 37.0365)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F48A6 #A67D1F
analogous
#1F8BA6 #1F48A6 #391FA6
triadic
#1F48A6 #A61F48 #48A61F
tetradic
#1F48A6 #A61F8B #A67D1F #1FA639
square
#1F48A6 #A61F8B #A67D1F #1FA639
split-complementary
#1F48A6 #A6391F #8BA61F
monochromatic
#0C1B3F #153272 #1F48A6 #2B5FD7 #5E86E1

Accessibility & contrast

On white

8.28
#1F48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1F48A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F48A6
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F48A6#FFFFFF#000000##FFFFFF
##1F48A61.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f48a6;
/* rgb */ color: rgb(31, 72, 166);
/* oklch */ color: oklch(43.3% 0.159 263.4);
Tailwind
colors: {
  custom: {
    50: '#727ac1',
    500: '#1f48a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f48a6;
$custom-light: #727ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f48a6",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 221.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.1587,
    "h": 263.4
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#1F48A6
secondary
#C5A55B
accent
#B63CEB
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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