#1B286F#1B286F

#1B286F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.123 H 269.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1B286F
RGBrgb(27, 40, 111)
HSLhsl(231, 61%, 27%)
HSVhsv(231, 76%, 44%)
CMYKcmyk(75.7%, 64%, 0%, 56.5%)
CIE-LABlab(19.63, 21.48, -42.73)
CIE-LCHlch(19.63, 47.82, 296.69°)
OKLaboklab(31.55% -0.0004 -0.1234)
OKLCHoklch(31.55% 0.123 269.8)
XYZxyz(4.0790, 2.8979, 15.3802)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B286F #6F621B
analogous
#1B526F #1B286F #381B6F
triadic
#1B286F #6F1B28 #286F1B
tetradic
#1B286F #6F1B52 #6F621B #1B6F38
square
#1B286F #6F1B52 #6F621B #1B6F38
split-complementary
#1B286F #6F381B #526F1B
monochromatic
#060919 #0F163E #1B286F #273AA0 #364ECE

Accessibility & contrast

On white

13.29
#1B286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B286F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B286F#FFFFFF#000000##FFFFFF
##1B286F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b286f;
/* rgb */ color: rgb(27, 40, 111);
/* oklch */ color: oklch(31.6% 0.123 269.8);
Tailwind
colors: {
  custom: {
    50: '#656199',
    500: '#1b286f',
    950: '#000000',
  },
}
SCSS
$custom: #1b286f;
$custom-light: #656199;
$custom-dark: #000000;
JSON
{
  "hex": "#1b286f",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 230.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31553,
    "c": 0.12336,
    "h": 269.8
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#1B286F
secondary
#A49542
accent
#CB44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B286F

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

Preview Lab → · Contrast checker → · Palette generator →

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