#1F43BC#1F43BC

#1F43BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.194 H 265.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1F43BC
RGBrgb(31, 67, 188)
HSLhsl(226, 72%, 43%)
HSVhsv(226, 84%, 74%)
CMYKcmyk(83.5%, 64.4%, 0%, 26.3%)
CIE-LABlab(33.85, 33.48, -66.78)
CIE-LCHlch(33.85, 74.71, 296.63°)
OKLaboklab(44.26% -0.0147 -0.1934)
OKLCHoklch(44.26% 0.194 265.6)
XYZxyz(11.6461, 7.9350, 48.4850)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F43BC #BC981F
analogous
#1F91BC #1F43BC #491FBC
triadic
#1F43BC #BC1F43 #43BC1F
tetradic
#1F43BC #BC1F91 #BC981F #1FBC49
square
#1F43BC #BC1F91 #BC981F #1FBC49
split-complementary
#1F43BC #BC491F #91BC1F
monochromatic
#0E1E53 #163087 #1F43BC #3A60DE #6E8AE7

Accessibility & contrast

On white

8.12
#1F43BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F43BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F43BC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F43BC#FFFFFF#000000##FFFFFF
##1F43BC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f43bc;
/* rgb */ color: rgb(31, 67, 188);
/* oklch */ color: oklch(44.3% 0.194 265.6);
Tailwind
colors: {
  custom: {
    50: '#7877d1',
    500: '#1f43bc',
    950: '#000000',
  },
}
SCSS
$custom: #1f43bc;
$custom-light: #7877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f43bc",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 226.242,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.19399,
    "h": 265.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#1F43BC
secondary
#CDB669
accent
#C539EE
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #1F43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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