#1B2E57#1B2E57

#1B2E57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.078 H 263.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#1B2E57
RGBrgb(27, 46, 87)
HSLhsl(221, 53%, 22%)
HSVhsv(221, 69%, 34%)
CMYKcmyk(69%, 47.1%, 0%, 65.9%)
CIE-LABlab(19.54, 7.41, -27.14)
CIE-LCHlch(19.54, 28.13, 285.28°)
OKLaboklab(30.88% -0.0085 -0.0774)
OKLCHoklch(30.88% 0.078 263.7)
XYZxyz(3.1487, 2.8748, 9.4039)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E57 #57441B
analogous
#1B4C57 #1B2E57 #261B57
triadic
#1B2E57 #571B2E #2E571B
tetradic
#1B2E57 #571B4C #57441B #1B5726
square
#1B2E57 #571B4C #57441B #1B5726
split-complementary
#1B2E57 #57261B #4C571B
monochromatic
#070C17 #0D1528 #1B2E57 #294786 #385FB4

Accessibility & contrast

On white

13.33
#1B2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B2E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E57
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E57#FFFFFF#000000##FFFFFF
##1B2E571.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3259
Deuteranopia (green-blind)
#112D56
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2e57;
/* rgb */ color: rgb(27, 46, 87);
/* oklch */ color: oklch(30.9% 0.078 263.7);
Tailwind
colors: {
  custom: {
    50: '#5e6687',
    500: '#1b2e57',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e57;
$custom-light: #5e6687;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e57",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 221,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30882,
    "c": 0.07788,
    "h": 263.7
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#1B2E57
secondary
#8D7541
accent
#AE4CDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1B2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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