#1B2F80#1B2F80

#1B2F80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.139 H 267.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1B2F80
RGBrgb(27, 47, 128)
HSLhsl(228, 65%, 30%)
HSVhsv(228, 79%, 50%)
CMYKcmyk(78.9%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.08, 23.33, -47.94)
CIE-LCHlch(23.08, 53.31, 295.95°)
OKLaboklab(34.59% -0.0057 -0.1386)
OKLCHoklch(34.59% 0.139 267.6)
XYZxyz(5.3634, 3.8240, 20.8733)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F80 #806C1B
analogous
#1B6180 #1B2F80 #3A1B80
triadic
#1B2F80 #801B2F #2F801B
tetradic
#1B2F80 #801B61 #806C1B #1B803A
square
#1B2F80 #801B61 #806C1B #1B803A
split-complementary
#1B2F80 #803A1B #61801B
monochromatic
#060A1B #101C4D #1B2F80 #2642B3 #3F5DD6

Accessibility & contrast

On white

11.90
#1B2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F80
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F80#FFFFFF#000000##FFFFFF
##1B2F801.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2f80;
/* rgb */ color: rgb(27, 47, 128);
/* oklch */ color: oklch(34.6% 0.139 267.6);
Tailwind
colors: {
  custom: {
    50: '#6967a6',
    500: '#1b2f80',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f80;
$custom-light: #6967a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f80",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 228.119,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34586,
    "c": 0.13868,
    "h": 267.6
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#1B2F80
secondary
#B49D43
accent
#C740E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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