#1B286E#1B286E

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

Color values

HEX#1B286E
RGBrgb(27, 40, 110)
HSLhsl(231, 61%, 27%)
HSVhsv(231, 75%, 43%)
CMYKcmyk(75.5%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.54, 21.08, -42.23)
CIE-LCHlch(19.54, 47.20, 296.53°)
OKLaboklab(31.46% -0.0004 -0.1219)
OKLCHoklch(31.46% 0.122 269.8)
XYZxyz(4.0243, 2.8760, 15.0919)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B286E #6E611B
analogous
#1B526E #1B286E #371B6E
triadic
#1B286E #6E1B28 #286E1B
tetradic
#1B286E #6E1B52 #6E611B #1B6E37
square
#1B286E #6E1B52 #6E611B #1B6E37
split-complementary
#1B286E #6E371B #526E1B
monochromatic
#060919 #0F163D #1B286E #273A9F #364ECE

Accessibility & contrast

On white

13.33
#1B286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B286E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B286E#FFFFFF#000000##FFFFFF
##1B286E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b286e;
/* rgb */ color: rgb(27, 40, 110);
/* oklch */ color: oklch(31.5% 0.122 269.8);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1b286e',
    950: '#000000',
  },
}
SCSS
$custom: #1b286e;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1b286e",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 230.602,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.12189,
    "h": 269.8
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B286E

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

Preview Lab → · Contrast checker → · Palette generator →

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