#1B1FA0#1B1FA0

#1B1FA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.198 H 269.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#1B1FA0
RGBrgb(27, 31, 160)
HSLhsl(238, 71%, 37%)
HSVhsv(238, 83%, 63%)
CMYKcmyk(83.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(22.83, 45.03, -68.20)
CIE-LCHlch(22.83, 81.72, 303.44°)
OKLaboklab(35.41% -0.0023 -0.1975)
OKLCHoklch(35.41% 0.198 269.3)
XYZxyz(7.2850, 3.7502, 33.5908)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1FA0 #A09C1B
analogous
#1B62A0 #1B1FA0 #591BA0
triadic
#1B1FA0 #A01B1F #1FA01B
tetradic
#1B1FA0 #A01B62 #A09C1B #1BA059
square
#1B1FA0 #A01B62 #A09C1B #1BA059
split-complementary
#1B1FA0 #A0591B #62A01B
monochromatic
#090B37 #12156C #1B1FA0 #2429D4 #5358E2

Accessibility & contrast

On white

12.00
#1B1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1FA0
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1FA0#FFFFFF#000000##FFFFFF
##1B1FA01.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b1fa0;
/* rgb */ color: rgb(27, 31, 160);
/* oklch */ color: oklch(35.4% 0.198 269.3);
Tailwind
colors: {
  custom: {
    50: '#735ebd',
    500: '#1b1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1b1fa0;
$custom-light: #735ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1fa0",
  "rgb": {
    "r": 27,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 238.195,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.19753,
    "h": 269.3
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#1B1FA0
secondary
#C5C152
accent
#E83AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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