#1B288A#1B288A

#1B288A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.161 H 269.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1B288A
RGBrgb(27, 40, 138)
HSLhsl(233, 67%, 32%)
HSVhsv(233, 80%, 54%)
CMYKcmyk(80.4%, 71%, 0%, 45.9%)
CIE-LABlab(22.25, 31.95, -55.58)
CIE-LCHlch(22.25, 64.11, 299.89°)
OKLaboklab(34.27% -0.0021 -0.1609)
OKLCHoklch(34.27% 0.161 269.3)
XYZxyz(5.7967, 3.5849, 24.4263)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B288A #8A7D1B
analogous
#1B608A #1B288A #461B8A
triadic
#1B288A #8A1B28 #288A1B
tetradic
#1B288A #8A1B60 #8A7D1B #1B8A46
square
#1B288A #8A1B60 #8A7D1B #1B8A46
split-complementary
#1B288A #8A461B #608A1B
monochromatic
#070A24 #111957 #1B288A #2537BD #4556DB

Accessibility & contrast

On white

12.23
#1B288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B288A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B288A#FFFFFF#000000##FFFFFF
##1B288A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b288a;
/* rgb */ color: rgb(27, 40, 138);
/* oklch */ color: oklch(34.3% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c62ad',
    500: '#1b288a',
    950: '#000000',
  },
}
SCSS
$custom: #1b288a;
$custom-light: #6c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b288a",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 232.973,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.16096,
    "h": 269.3
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#1B288A
secondary
#BCAE45
accent
#D63EEA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B288A

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

Preview Lab → · Contrast checker → · Palette generator →

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