#1B2F53#1B2F53

#1B2F53 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.070 H 261.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#1B2F53
RGBrgb(27, 47, 83)
HSLhsl(219, 51%, 22%)
HSVhsv(219, 67%, 33%)
CMYKcmyk(67.5%, 43.4%, 0%, 67.5%)
CIE-LABlab(19.60, 5.08, -24.37)
CIE-LCHlch(19.60, 24.89, 281.78°)
OKLaboklab(30.85% -0.0106 -0.0693)
OKLCHoklch(30.85% 0.07 261.3)
XYZxyz(3.0293, 2.8903, 8.5802)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F53 #533F1B
analogous
#1B4B53 #1B2F53 #231B53
triadic
#1B2F53 #531B2F #2F531B
tetradic
#1B2F53 #531B4B #533F1B #1B5323
square
#1B2F53 #531B4B #533F1B #1B5323
split-complementary
#1B2F53 #53231B #4B531B
monochromatic
#080D17 #0C1525 #1B2F53 #2A4981 #3963AF

Accessibility & contrast

On white

13.31
#1B2F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F53
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F53#FFFFFF#000000##FFFFFF
##1B2F531.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3254
Deuteranopia (green-blind)
#172D52
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2f53;
/* rgb */ color: rgb(27, 47, 83);
/* oklch */ color: oklch(30.8% 0.070 261.3);
Tailwind
colors: {
  custom: {
    50: '#5e6783',
    500: '#1b2f53',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f53;
$custom-light: #5e6783;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f53",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 218.571,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.07009,
    "h": 261.3
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#1B2F53
secondary
#896F41
accent
#A84DDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060A
muted
#797A7C

Preview Lab

Preview with #1B2F53

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

Preview Lab → · Contrast checker → · Palette generator →

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