#1B2FA0#1B2FA0

#1B2FA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.182 H 267.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#1B2FA0
RGBrgb(27, 47, 160)
HSLhsl(231, 71%, 37%)
HSVhsv(231, 83%, 63%)
CMYKcmyk(83.1%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.17, 35.64, -62.67)
CIE-LCHlch(26.17, 72.10, 299.62°)
OKLaboklab(37.79% -0.0073 -0.1816)
OKLCHoklch(37.79% 0.182 267.7)
XYZxyz(7.8115, 4.8032, 33.7663)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2FA0 #A08C1B
analogous
#1B72A0 #1B2FA0 #491BA0
triadic
#1B2FA0 #A01B2F #2FA01B
tetradic
#1B2FA0 #A01B72 #A08C1B #1BA049
square
#1B2FA0 #A01B72 #A08C1B #1BA049
split-complementary
#1B2FA0 #A0491B #72A01B
monochromatic
#091037 #12206C #1B2FA0 #243ED4 #5369E2

Accessibility & contrast

On white

10.71
#1B2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1B2FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2FA0
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2FA0#FFFFFF#000000##FFFFFF
##1B2FA01.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b2fa0;
/* rgb */ color: rgb(27, 47, 160);
/* oklch */ color: oklch(37.8% 0.182 267.7);
Tailwind
colors: {
  custom: {
    50: '#7168bd',
    500: '#1b2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1b2fa0;
$custom-light: #7168bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2fa0",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 230.977,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.18177,
    "h": 267.7
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#1B2FA0
secondary
#C5B452
accent
#D33AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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