#1B285B#1B285B

#1B285B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.093 H 269.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1B285B
RGBrgb(27, 40, 91)
HSLhsl(228, 54%, 23%)
HSVhsv(228, 70%, 36%)
CMYKcmyk(70.3%, 56%, 0%, 64.3%)
CIE-LABlab(17.94, 13.42, -32.36)
CIE-LCHlch(17.94, 35.03, 292.52°)
OKLaboklab(29.76% -0.0011 -0.0929)
OKLCHoklch(29.76% 0.093 269.3)
XYZxyz(3.0985, 2.5056, 10.2159)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B285B #5B4E1B
analogous
#1B485B #1B285B #2E1B5B
triadic
#1B285B #5B1B28 #285B1B
tetradic
#1B285B #5B1B48 #5B4E1B #1B5B2E
square
#1B285B #5B1B48 #5B4E1B #1B5B2E
split-complementary
#1B285B #5B2E1B #485B1B
monochromatic
#070A18 #0D132C #1B285B #293D8A #3751B9

Accessibility & contrast

On white

13.99
#1B285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1B285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B285B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B285B#FFFFFF#000000##FFFFFF
##1B285B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b285b;
/* rgb */ color: rgb(27, 40, 91);
/* oklch */ color: oklch(29.8% 0.093 269.3);
Tailwind
colors: {
  custom: {
    50: '#60618a',
    500: '#1b285b',
    950: '#000000',
  },
}
SCSS
$custom: #1b285b;
$custom-light: #60618a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b285b",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 227.813,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29761,
    "c": 0.09288,
    "h": 269.3
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#1B285B
secondary
#918141
accent
#C04ADE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1B285B

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

Preview Lab → · Contrast checker → · Palette generator →

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