#1F44B2#1F44B2

#1F44B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.180 H 265.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1F44B2
RGBrgb(31, 68, 178)
HSLhsl(225, 70%, 41%)
HSVhsv(225, 83%, 70%)
CMYKcmyk(82.6%, 61.8%, 0%, 30.2%)
CIE-LABlab(33.22, 29.02, -61.90)
CIE-LCHlch(33.22, 68.36, 295.11°)
OKLaboklab(43.52% -0.0152 -0.1791)
OKLCHoklch(43.52% 0.18 265.1)
XYZxyz(10.6652, 7.6386, 43.0231)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F44B2 #B28D1F
analogous
#1F8DB2 #1F44B2 #431FB2
triadic
#1F44B2 #B21F44 #44B21F
tetradic
#1F44B2 #B21F8D #B28D1F #1FB243
square
#1F44B2 #B21F8D #B28D1F #1FB243
split-complementary
#1F44B2 #B2431F #8DB21F
monochromatic
#0D1C4A #16307E #1F44B2 #335DDB #6787E5

Accessibility & contrast

On white

8.31
#1F44B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1F44B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F44B2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F44B2#FFFFFF#000000##FFFFFF
##1F44B21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f44b2;
/* rgb */ color: rgb(31, 68, 178);
/* oklch */ color: oklch(43.5% 0.180 265.1);
Tailwind
colors: {
  custom: {
    50: '#7577ca',
    500: '#1f44b2',
    950: '#000000',
  },
}
SCSS
$custom: #1f44b2;
$custom-light: #7577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f44b2",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 224.898,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4352,
    "c": 0.17977,
    "h": 265.1
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#1F44B2
secondary
#CAB063
accent
#C03BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1F44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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