#1B2FA1#1B2FA1

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

Color values

HEX#1B2FA1
RGBrgb(27, 47, 161)
HSLhsl(231, 71%, 37%)
HSVhsv(231, 83%, 63%)
CMYKcmyk(83.2%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.27, 36.01, -63.11)
CIE-LCHlch(26.27, 72.66, 299.70°)
OKLaboklab(37.89% -0.0074 -0.1829)
OKLCHoklch(37.89% 0.183 267.7)
XYZxyz(7.8993, 4.8383, 34.2289)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2FA1 #A18D1B
analogous
#1B72A1 #1B2FA1 #4A1BA1
triadic
#1B2FA1 #A11B2F #2FA11B
tetradic
#1B2FA1 #A11B72 #A18D1B #1BA14A
square
#1B2FA1 #A11B72 #A18D1B #1BA14A
split-complementary
#1B2FA1 #A14A1B #72A11B
monochromatic
#091038 #12206D #1B2FA1 #243ED5 #5469E2

Accessibility & contrast

On white

10.67
#1B2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2FA1
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2FA1#FFFFFF#000000##FFFFFF
##1B2FA11.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b2fa1;
/* rgb */ color: rgb(27, 47, 161);
/* oklch */ color: oklch(37.9% 0.183 267.7);
Tailwind
colors: {
  custom: {
    50: '#7268be',
    500: '#1b2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1b2fa1;
$custom-light: #7268be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2fa1",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 231.045,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.18305,
    "h": 267.7
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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