#1B286A#1B286A

#1B286A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.116 H 269.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1B286A
RGBrgb(27, 40, 106)
HSLhsl(230, 59%, 26%)
HSVhsv(230, 75%, 42%)
CMYKcmyk(74.5%, 62.3%, 0%, 58.4%)
CIE-LABlab(19.19, 19.48, -40.21)
CIE-LCHlch(19.19, 44.68, 295.85°)
OKLaboklab(31.09% -0.0004 -0.116)
OKLCHoklch(31.09% 0.116 269.8)
XYZxyz(3.8114, 2.7908, 13.9707)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B286A #6A5D1B
analogous
#1B4F6A #1B286A #351B6A
triadic
#1B286A #6A1B28 #286A1B
tetradic
#1B286A #6A1B4F #6A5D1B #1B6A35
square
#1B286A #6A1B4F #6A5D1B #1B6A35
split-complementary
#1B286A #6A351B #4F6A1B
monochromatic
#060918 #0F1639 #1B286A #273A9B #344DCB

Accessibility & contrast

On white

13.48
#1B286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B286A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B286A#FFFFFF#000000##FFFFFF
##1B286A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b286a;
/* rgb */ color: rgb(27, 40, 106);
/* oklch */ color: oklch(31.1% 0.116 269.8);
Tailwind
colors: {
  custom: {
    50: '#636195',
    500: '#1b286a',
    950: '#000000',
  },
}
SCSS
$custom: #1b286a;
$custom-light: #636195;
$custom-dark: #000000;
JSON
{
  "hex": "#1b286a",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 230.127,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31085,
    "c": 0.11596,
    "h": 269.8
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#1B286A
secondary
#9F9042
accent
#C945E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B286A

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

Preview Lab → · Contrast checker → · Palette generator →

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