#1B2590#1B2590

#1B2590 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.172 H 269.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1B2590
RGBrgb(27, 37, 144)
HSLhsl(235, 68%, 34%)
HSVhsv(235, 81%, 56%)
CMYKcmyk(81.3%, 74.3%, 0%, 43.5%)
CIE-LABlab(22.19, 36.06, -59.40)
CIE-LCHlch(22.19, 69.50, 301.26°)
OKLaboklab(34.42% -0.0015 -0.1721)
OKLCHoklch(34.42% 0.172 269.5)
XYZxyz(6.1459, 3.5691, 26.7451)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2590 #90861B
analogous
#1B5F90 #1B2590 #4B1B90
triadic
#1B2590 #901B25 #25901B
tetradic
#1B2590 #901B5F #90861B #1B904B
square
#1B2590 #901B5F #90861B #1B904B
split-complementary
#1B2590 #904B1B #5F901B
monochromatic
#080B29 #11185C #1B2590 #2532C4 #4955DD

Accessibility & contrast

On white

12.25
#1B2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2590
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2590#FFFFFF#000000##FFFFFF
##1B25901.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2590;
/* rgb */ color: rgb(27, 37, 144);
/* oklch */ color: oklch(34.4% 0.172 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e60b2',
    500: '#1b2590',
    950: '#000000',
  },
}
SCSS
$custom: #1b2590;
$custom-light: #6e60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2590",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 234.872,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3442,
    "c": 0.1721,
    "h": 269.5
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#1B2590
secondary
#BFB448
accent
#DC3DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1B2590

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

Preview Lab → · Contrast checker → · Palette generator →

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