#1B2697#1B2697

#1B2697 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.180 H 269.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1B2697
RGBrgb(27, 38, 151)
HSLhsl(235, 70%, 35%)
HSVhsv(235, 82%, 59%)
CMYKcmyk(82.1%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.18, 37.97, -62.10)
CIE-LCHlch(23.18, 72.79, 301.44°)
OKLaboklab(35.35% -0.0028 -0.1799)
OKLCHoklch(35.35% 0.18 269.1)
XYZxyz(6.7291, 3.8528, 29.6612)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2697 #978C1B
analogous
#1B6497 #1B2697 #4E1B97
triadic
#1B2697 #971B26 #26971B
tetradic
#1B2697 #971B64 #978C1B #1B974E
square
#1B2697 #971B64 #978C1B #1B974E
split-complementary
#1B2697 #974E1B #64971B
monochromatic
#080C2F #121963 #1B2697 #2433CB #4D5ADF

Accessibility & contrast

On white

11.86
#1B2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2697
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2697#FFFFFF#000000##FFFFFF
##1B26971.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2697;
/* rgb */ color: rgb(27, 38, 151);
/* oklch */ color: oklch(35.4% 0.180 269.1);
Tailwind
colors: {
  custom: {
    50: '#7061b7',
    500: '#1b2697',
    950: '#000000',
  },
}
SCSS
$custom: #1b2697;
$custom-light: #7061b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2697",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 234.677,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.17995,
    "h": 269.1
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#1B2697
secondary
#C1B74C
accent
#DD3BEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1B2697

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

Preview Lab → · Contrast checker → · Palette generator →

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