#1B299F#1B299F

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

Color values

HEX#1B299F
RGBrgb(27, 41, 159)
HSLhsl(234, 71%, 36%)
HSVhsv(234, 83%, 62%)
CMYKcmyk(83%, 74.2%, 0%, 37.6%)
CIE-LABlab(24.71, 39.01, -64.48)
CIE-LCHlch(24.71, 75.36, 301.18°)
OKLaboklab(36.7% -0.005 -0.1868)
OKLCHoklch(36.7% 0.187 268.5)
XYZxyz(7.5008, 4.3212, 33.2329)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B299F #9F911B
analogous
#1B6B9F #1B299F #4F1B9F
triadic
#1B299F #9F1B29 #299F1B
tetradic
#1B299F #9F1B6B #9F911B #1B9F4F
square
#1B299F #9F1B6B #9F911B #1B9F4F
split-complementary
#1B299F #9F4F1B #6B9F1B
monochromatic
#090E36 #121C6B #1B299F #2436D3 #5362E2

Accessibility & contrast

On white

11.26
#1B299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B299F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B299F#FFFFFF#000000##FFFFFF
##1B299F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b299f;
/* rgb */ color: rgb(27, 41, 159);
/* oklch */ color: oklch(36.7% 0.187 268.5);
Tailwind
colors: {
  custom: {
    50: '#7264bd',
    500: '#1b299f',
    950: '#000000',
  },
}
SCSS
$custom: #1b299f;
$custom-light: #7264bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b299f",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 233.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36703,
    "c": 0.18692,
    "h": 268.5
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#1B299F
secondary
#C5B851
accent
#DB3AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1B299F

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

Preview Lab → · Contrast checker → · Palette generator →

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