#1B2583#1B2583

#1B2583 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.155 H 270.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1B2583
RGBrgb(27, 37, 131)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 79%, 51%)
CMYKcmyk(79.4%, 71.8%, 0%, 48.6%)
CIE-LABlab(20.81, 31.27, -53.56)
CIE-LCHlch(20.81, 62.03, 300.28°)
OKLaboklab(33.01% 0.0002 -0.1551)
OKLCHoklch(33.01% 0.155 270.1)
XYZxyz(5.2089, 3.1943, 21.8104)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2583 #83791B
analogous
#1B5983 #1B2583 #451B83
triadic
#1B2583 #831B25 #25831B
tetradic
#1B2583 #831B59 #83791B #1B8345
square
#1B2583 #831B59 #83791B #1B8345
split-complementary
#1B2583 #83451B #59831B
monochromatic
#06081E #111750 #1B2583 #2533B6 #414FD8

Accessibility & contrast

On white

12.81
#1B2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2583
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2583#FFFFFF#000000##FFFFFF
##1B25831.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2583;
/* rgb */ color: rgb(27, 37, 131);
/* oklch */ color: oklch(33.0% 0.155 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a60a8',
    500: '#1b2583',
    950: '#000000',
  },
}
SCSS
$custom: #1b2583;
$custom-light: #6a60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2583",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 234.231,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33008,
    "c": 0.15507,
    "h": 270.1
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#1B2583
secondary
#B6AB43
accent
#D83FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2583

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

Preview Lab → · Contrast checker → · Palette generator →

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