#1B285A#1B285A

#1B285A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.091 H 269.2°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1B285A
RGBrgb(27, 40, 90)
HSLhsl(228, 54%, 23%)
HSVhsv(228, 70%, 35%)
CMYKcmyk(70%, 55.6%, 0%, 64.7%)
CIE-LABlab(17.87, 13.01, -31.82)
CIE-LCHlch(17.87, 34.37, 292.24°)
OKLaboklab(29.68% -0.0013 -0.0913)
OKLCHoklch(29.68% 0.091 269.2)
XYZxyz(3.0556, 2.4885, 9.9902)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B285A #5A4D1B
analogous
#1B475A #1B285A #2D1B5A
triadic
#1B285A #5A1B28 #285A1B
tetradic
#1B285A #5A1B47 #5A4D1B #1B5A2D
square
#1B285A #5A1B47 #5A4D1B #1B5A2D
split-complementary
#1B285A #5A2D1B #475A1B
monochromatic
#070A18 #0D132B #1B285A #293D89 #3752B8

Accessibility & contrast

On white

14.02
#1B285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B285A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B285A#FFFFFF#000000##FFFFFF
##1B285A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b285a;
/* rgb */ color: rgb(27, 40, 90);
/* oklch */ color: oklch(29.7% 0.091 269.2);
Tailwind
colors: {
  custom: {
    50: '#5f6189',
    500: '#1b285a',
    950: '#000000',
  },
}
SCSS
$custom: #1b285a;
$custom-light: #5f6189;
$custom-dark: #000000;
JSON
{
  "hex": "#1b285a",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 227.619,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29678,
    "c": 0.09128,
    "h": 269.2
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#1B285A
secondary
#908041
accent
#BF4BDD
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1B285A

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

Preview Lab → · Contrast checker → · Palette generator →

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