#1F48A0#1F48A0

#1F48A0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.150 H 262.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1F48A0
RGBrgb(31, 72, 160)
HSLhsl(221, 68%, 37%)
HSVhsv(221, 81%, 63%)
CMYKcmyk(80.6%, 55%, 0%, 37.3%)
CIE-LABlab(32.84, 19.27, -51.75)
CIE-LCHlch(32.84, 55.23, 290.42°)
OKLaboklab(42.78% -0.0187 -0.1493)
OKLCHoklch(42.78% 0.15 262.9)
XYZxyz(9.2253, 7.4630, 34.2052)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F48A0 #A0771F
analogous
#1F89A0 #1F48A0 #361FA0
triadic
#1F48A0 #A01F48 #48A01F
tetradic
#1F48A0 #A01F89 #A0771F #1FA036
square
#1F48A0 #A01F89 #A0771F #1FA036
split-complementary
#1F48A0 #A0361F #89A01F
monochromatic
#0B1A39 #15316D #1F48A0 #295FD3 #5A85DF

Accessibility & contrast

On white

8.42
#1F48A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1F48A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F48A0
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F48A0#FFFFFF#000000##FFFFFF
##1F48A01.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f48a0;
/* rgb */ color: rgb(31, 72, 160);
/* oklch */ color: oklch(42.8% 0.150 262.9);
Tailwind
colors: {
  custom: {
    50: '#707abd',
    500: '#1f48a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f48a0;
$custom-light: #707abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f48a0",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 160
  },
  "hsl": {
    "h": 220.93,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.15044,
    "h": 262.9
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#1F48A0
secondary
#C3A158
accent
#B33DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F48A0

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

Preview Lab → · Contrast checker → · Palette generator →

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