#1A2F59#1A2F59

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

Color values

HEX#1A2F59
RGBrgb(26, 47, 89)
HSLhsl(220, 55%, 23%)
HSVhsv(220, 71%, 35%)
CMYKcmyk(70.8%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.94, 7.30, -27.83)
CIE-LCHlch(19.94, 28.77, 284.70°)
OKLaboklab(31.22% -0.0102 -0.0795)
OKLCHoklch(31.22% 0.08 262.7)
XYZxyz(3.2451, 2.9736, 9.8522)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F59 #59441A
analogous
#1A4F59 #1A2F59 #241A59
triadic
#1A2F59 #591A2F #2F591A
tetradic
#1A2F59 #591A4F #59441A #1A5924
square
#1A2F59 #591A4F #59441A #1A5924
split-complementary
#1A2F59 #59241A #4F591A
monochromatic
#070D18 #0C162A #1A2F59 #284888 #3661B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A2F59#FFFFFF#000000##FFFFFF
##1A2F591.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)
#1B335B
Deuteranopia (green-blind)
#112D58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2f59;
/* rgb */ color: rgb(26, 47, 89);
/* oklch */ color: oklch(31.2% 0.080 262.7);
Tailwind
colors: {
  custom: {
    50: '#5e6788',
    500: '#1a2f59',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f59;
$custom-light: #5e6788;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f59",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 220,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31221,
    "c": 0.08011,
    "h": 262.7
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#1A2F59
secondary
#8F7540
accent
#AD4ADE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1A2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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