#1B2585#1B2585

#1B2585 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.158 H 270.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2585
RGBrgb(27, 37, 133)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 80%, 52%)
CMYKcmyk(79.7%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.01, 32.02, -54.48)
CIE-LCHlch(21.01, 63.19, 300.45°)
OKLaboklab(33.22% 0 -0.1577)
OKLCHoklch(33.22% 0.158 270)
XYZxyz(5.3458, 3.2490, 22.5311)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2585 #857B1B
analogous
#1B5A85 #1B2585 #461B85
triadic
#1B2585 #851B25 #25851B
tetradic
#1B2585 #851B5A #857B1B #1B8546
square
#1B2585 #851B5A #857B1B #1B8546
split-complementary
#1B2585 #85461B #5A851B
monochromatic
#06091F #111752 #1B2585 #2533B8 #4250D9

Accessibility & contrast

On white

12.73
#1B2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2585
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2585#FFFFFF#000000##FFFFFF
##1B25851.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2585;
/* rgb */ color: rgb(27, 37, 133);
/* oklch */ color: oklch(33.2% 0.158 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1b2585',
    950: '#000000',
  },
}
SCSS
$custom: #1b2585;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2585",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 234.34,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.15774,
    "h": 270
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#1B2585
secondary
#B8AD44
accent
#D93FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2585

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

Preview Lab → · Contrast checker → · Palette generator →

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