#1B299E#1B299E

#1B299E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.186 H 268.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1B299E
RGBrgb(27, 41, 158)
HSLhsl(234, 71%, 36%)
HSVhsv(234, 83%, 62%)
CMYKcmyk(82.9%, 74.1%, 0%, 38%)
CIE-LABlab(24.60, 38.65, -64.05)
CIE-LCHlch(24.60, 74.81, 301.11°)
OKLaboklab(36.59% -0.0048 -0.1856)
OKLCHoklch(36.59% 0.186 268.5)
XYZxyz(7.4144, 4.2866, 32.7778)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B299E #9E901B
analogous
#1B6B9E #1B299E #4F1B9E
triadic
#1B299E #9E1B29 #299E1B
tetradic
#1B299E #9E1B6B #9E901B #1B9E4F
square
#1B299E #9E1B6B #9E901B #1B9E4F
split-complementary
#1B299E #9E4F1B #6B9E1B
monochromatic
#090E35 #121B6A #1B299E #2437D2 #5261E1

Accessibility & contrast

On white

11.30
#1B299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B299E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B299E#FFFFFF#000000##FFFFFF
##1B299E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b299e;
/* rgb */ color: rgb(27, 41, 158);
/* oklch */ color: oklch(36.6% 0.186 268.5);
Tailwind
colors: {
  custom: {
    50: '#7164bc',
    500: '#1b299e',
    950: '#000000',
  },
}
SCSS
$custom: #1b299e;
$custom-light: #7164bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b299e",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 233.588,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.18566,
    "h": 268.5
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#1B299E
secondary
#C4B851
accent
#DA3AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1B299E

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

Preview Lab → · Contrast checker → · Palette generator →

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