#1B3085#1B3085

#1B3085 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.144 H 267.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1B3085
RGBrgb(27, 48, 133)
HSLhsl(228, 66%, 31%)
HSVhsv(228, 80%, 52%)
CMYKcmyk(79.7%, 63.9%, 0%, 47.8%)
CIE-LABlab(23.80, 24.62, -49.90)
CIE-LCHlch(23.80, 55.64, 296.26°)
OKLaboklab(35.26% -0.0064 -0.1443)
OKLCHoklch(35.26% 0.144 267.5)
XYZxyz(5.7411, 4.0397, 22.6629)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3085 #85701B
analogous
#1B6585 #1B3085 #3B1B85
triadic
#1B3085 #851B30 #30851B
tetradic
#1B3085 #851B65 #85701B #1B853B
square
#1B3085 #851B65 #85701B #1B853B
split-complementary
#1B3085 #853B1B #65851B
monochromatic
#060B1F #111E52 #1B3085 #2542B8 #4260D9

Accessibility & contrast

On white

11.62
#1B3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3085
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3085#FFFFFF#000000##FFFFFF
##1B30851.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3085;
/* rgb */ color: rgb(27, 48, 133);
/* oklch */ color: oklch(35.3% 0.144 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a68a9',
    500: '#1b3085',
    950: '#000000',
  },
}
SCSS
$custom: #1b3085;
$custom-light: #6a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3085",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 228.113,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3526,
    "c": 0.14444,
    "h": 267.5
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#1B3085
secondary
#B8A144
accent
#C73FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3085

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

Preview Lab → · Contrast checker → · Palette generator →

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