#1B2F55#1B2F55

#1B2F55 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.073 H 262.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1B2F55
RGBrgb(27, 47, 85)
HSLhsl(219, 52%, 22%)
HSVhsv(219, 68%, 33%)
CMYKcmyk(68.2%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.73, 5.89, -25.50)
CIE-LCHlch(19.73, 26.17, 283.00°)
OKLaboklab(30.99% -0.0101 -0.0726)
OKLCHoklch(30.99% 0.073 262.1)
XYZxyz(3.1076, 2.9216, 8.9927)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F55 #55411B
analogous
#1B4C55 #1B2F55 #241B55
triadic
#1B2F55 #551B2F #2F551B
tetradic
#1B2F55 #551B4C #55411B #1B5524
square
#1B2F55 #551B4C #55411B #1B5524
split-complementary
#1B2F55 #55241B #4C551B
monochromatic
#070D17 #0C1527 #1B2F55 #2A4983 #3962B2

Accessibility & contrast

On white

13.25
#1B2F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F55
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F55#FFFFFF#000000##FFFFFF
##1B2F551.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3356
Deuteranopia (green-blind)
#162D54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2f55;
/* rgb */ color: rgb(27, 47, 85);
/* oklch */ color: oklch(31.0% 0.073 262.1);
Tailwind
colors: {
  custom: {
    50: '#5e6785',
    500: '#1b2f55',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f55;
$custom-light: #5e6785;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f55",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 219.31,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30987,
    "c": 0.0733,
    "h": 262.1
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#1B2F55
secondary
#8B7141
accent
#AA4DDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1B2F55

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

Preview Lab → · Contrast checker → · Palette generator →

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