#1B2F58#1B2F58

#1B2F58 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.078 H 263.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1B2F58
RGBrgb(27, 47, 88)
HSLhsl(220, 53%, 23%)
HSVhsv(220, 69%, 35%)
CMYKcmyk(69.3%, 46.6%, 0%, 65.5%)
CIE-LABlab(19.92, 7.09, -27.18)
CIE-LCHlch(19.92, 28.09, 284.63°)
OKLaboklab(31.2% -0.0094 -0.0775)
OKLCHoklch(31.2% 0.078 263.1)
XYZxyz(3.2293, 2.9703, 9.6338)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F58 #58441B
analogous
#1B4D58 #1B2F58 #261B58
triadic
#1B2F58 #581B2F #2F581B
tetradic
#1B2F58 #581B4D #58441B #1B5826
square
#1B2F58 #581B4D #58441B #1B5826
split-complementary
#1B2F58 #58261B #4D581B
monochromatic
#070D17 #0D1629 #1B2F58 #294887 #3861B6

Accessibility & contrast

On white

13.17
#1B2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F58
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F58#FFFFFF#000000##FFFFFF
##1B2F581.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#122E57
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2f58;
/* rgb */ color: rgb(27, 47, 88);
/* oklch */ color: oklch(31.2% 0.078 263.1);
Tailwind
colors: {
  custom: {
    50: '#5f6787',
    500: '#1b2f58',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f58;
$custom-light: #5f6787;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f58",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 220.328,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.07811,
    "h": 263.1
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#1B2F58
secondary
#8E7541
accent
#AD4BDC
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1B2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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