#1F48B4#1F48B4

#1F48B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.178 H 264.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1F48B4
RGBrgb(31, 72, 180)
HSLhsl(223, 71%, 41%)
HSVhsv(223, 83%, 71%)
CMYKcmyk(82.8%, 60%, 0%, 29.4%)
CIE-LABlab(34.44, 27.13, -61.10)
CIE-LCHlch(34.44, 66.85, 293.94°)
OKLaboklab(44.48% -0.0174 -0.1767)
OKLCHoklch(44.48% 0.178 264.4)
XYZxyz(11.1177, 8.2200, 44.1718)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F48B4 #B48B1F
analogous
#1F93B4 #1F48B4 #411FB4
triadic
#1F48B4 #B41F48 #48B41F
tetradic
#1F48B4 #B41F93 #B48B1F #1FB441
square
#1F48B4 #B41F93 #B48B1F #1FB441
split-complementary
#1F48B4 #B4411F #93B41F
monochromatic
#0D1E4C #163380 #1F48B4 #3462DC #688BE5

Accessibility & contrast

On white

7.94
#1F48B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F48B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F48B4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F48B4#FFFFFF#000000##FFFFFF
##1F48B41.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f48b4;
/* rgb */ color: rgb(31, 72, 180);
/* oklch */ color: oklch(44.5% 0.178 264.4);
Tailwind
colors: {
  custom: {
    50: '#767acb',
    500: '#1f48b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f48b4;
$custom-light: #767acb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f48b4",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 223.49,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.17757,
    "h": 264.4
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#1F48B4
secondary
#CBAE64
accent
#BC3AED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1F48B4

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

Preview Lab → · Contrast checker → · Palette generator →

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