#1B2A5B#1B2A5B

#1B2A5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.090 H 267.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1B2A5B
RGBrgb(27, 42, 91)
HSLhsl(226, 54%, 23%)
HSVhsv(226, 70%, 36%)
CMYKcmyk(70.3%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.56, 11.95, -31.37)
CIE-LCHlch(18.56, 33.56, 290.85°)
OKLaboklab(30.23% -0.0033 -0.0899)
OKLCHoklch(30.23% 0.09 267.9)
XYZxyz(3.1676, 2.6440, 10.2389)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A5B #5B4C1B
analogous
#1B4A5B #1B2A5B #2C1B5B
triadic
#1B2A5B #5B1B2A #2A5B1B
tetradic
#1B2A5B #5B1B4A #5B4C1B #1B5B2C
square
#1B2A5B #5B1B4A #5B4C1B #1B5B2C
split-complementary
#1B2A5B #5B2C1B #4A5B1B
monochromatic
#070B18 #0D142C #1B2A5B #29408A #3756B9

Accessibility & contrast

On white

13.74
#1B2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A5B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A5B#FFFFFF#000000##FFFFFF
##1B2A5B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b2a5b;
/* rgb */ color: rgb(27, 42, 91);
/* oklch */ color: oklch(30.2% 0.090 267.9);
Tailwind
colors: {
  custom: {
    50: '#60638a',
    500: '#1b2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a5b;
$custom-light: #60638a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a5b",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 225.938,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.08998,
    "h": 267.9
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#1B2A5B
secondary
#917E41
accent
#BB4ADE
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1B2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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