#1B3097#1B3097

#1B3097 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.169 H 267.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1B3097
RGBrgb(27, 48, 151)
HSLhsl(230, 70%, 35%)
HSVhsv(230, 82%, 59%)
CMYKcmyk(82.1%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.50, 31.61, -58.27)
CIE-LCHlch(25.50, 66.29, 298.48°)
OKLaboklab(37.03% -0.0071 -0.1688)
OKLCHoklch(37.03% 0.169 267.6)
XYZxyz(7.0929, 4.5804, 29.7824)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3097 #97821B
analogous
#1B6E97 #1B3097 #441B97
triadic
#1B3097 #971B30 #30971B
tetradic
#1B3097 #971B6E #97821B #1B9744
square
#1B3097 #971B6E #97821B #1B9744
split-complementary
#1B3097 #97441B #6E971B
monochromatic
#080F2F #121F63 #1B3097 #2441CB #4D66DF

Accessibility & contrast

On white

10.96
#1B3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3097
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3097#FFFFFF#000000##FFFFFF
##1B30971.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3097;
/* rgb */ color: rgb(27, 48, 151);
/* oklch */ color: oklch(37.0% 0.169 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f68b7',
    500: '#1b3097',
    950: '#000000',
  },
}
SCSS
$custom: #1b3097;
$custom-light: #6f68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3097",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 229.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37032,
    "c": 0.16892,
    "h": 267.6
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#1B3097
secondary
#C1AE4C
accent
#CE3BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B3097

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

Preview Lab → · Contrast checker → · Palette generator →

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