#1B2597#1B2597

#1B2597 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.181 H 269.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1B2597
RGBrgb(27, 37, 151)
HSLhsl(235, 70%, 35%)
HSVhsv(235, 82%, 59%)
CMYKcmyk(82.1%, 75.5%, 0%, 40.8%)
CIE-LABlab(22.96, 38.57, -62.46)
CIE-LCHlch(22.96, 73.41, 301.70°)
OKLaboklab(35.2% -0.0025 -0.1809)
OKLCHoklch(35.2% 0.181 269.2)
XYZxyz(6.6976, 3.7897, 29.6507)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2597 #978D1B
analogous
#1B6397 #1B2597 #4F1B97
triadic
#1B2597 #971B25 #25971B
tetradic
#1B2597 #971B63 #978D1B #1B974F
square
#1B2597 #971B63 #978D1B #1B974F
split-complementary
#1B2597 #974F1B #63971B
monochromatic
#080C2F #121863 #1B2597 #2432CB #4D59DF

Accessibility & contrast

On white

11.94
#1B2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2597
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2597#FFFFFF#000000##FFFFFF
##1B25971.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2597;
/* rgb */ color: rgb(27, 37, 151);
/* oklch */ color: oklch(35.2% 0.181 269.2);
Tailwind
colors: {
  custom: {
    50: '#7061b7',
    500: '#1b2597',
    950: '#000000',
  },
}
SCSS
$custom: #1b2597;
$custom-light: #7061b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2597",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 235.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.18097,
    "h": 269.2
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#1B2597
secondary
#C1B84C
accent
#DE3BEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1B2597

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

Preview Lab → · Contrast checker → · Palette generator →

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