#1B2B59#1B2B59

#1B2B59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.085 H 266.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1B2B59
RGBrgb(27, 43, 89)
HSLhsl(225, 53%, 23%)
HSVhsv(225, 70%, 35%)
CMYKcmyk(69.7%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.72, 10.41, -29.77)
CIE-LCHlch(18.72, 31.54, 289.27°)
OKLaboklab(30.3% -0.0047 -0.0852)
OKLCHoklch(30.3% 0.085 266.8)
XYZxyz(3.1184, 2.6817, 9.8025)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B59 #59491B
analogous
#1B4A59 #1B2B59 #2A1B59
triadic
#1B2B59 #591B2B #2B591B
tetradic
#1B2B59 #591B4A #59491B #1B592A
square
#1B2B59 #591B4A #59491B #1B592A
split-complementary
#1B2B59 #592A1B #4A591B
monochromatic
#070B17 #0D142A #1B2B59 #294288 #3758B7

Accessibility & contrast

On white

13.67
#1B2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B59
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B59#FFFFFF#000000##FFFFFF
##1B2B591.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315B
Deuteranopia (green-blind)
#072B58
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2b59;
/* rgb */ color: rgb(27, 43, 89);
/* oklch */ color: oklch(30.3% 0.085 266.8);
Tailwind
colors: {
  custom: {
    50: '#5f6388',
    500: '#1b2b59',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b59;
$custom-light: #5f6388;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b59",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 224.516,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30303,
    "c": 0.08535,
    "h": 266.8
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#1B2B59
secondary
#8F7B41
accent
#B74BDD
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1B2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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