#1A283F#1A283F

#1A283F is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.6% C 0.047 H 260.0°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1A283F
RGBrgb(26, 40, 63)
HSLhsl(217, 42%, 17%)
HSVhsv(217, 59%, 25%)
CMYKcmyk(58.7%, 36.5%, 0%, 75.3%)
CIE-LABlab(15.98, 2.04, -16.46)
CIE-LCHlch(15.98, 16.59, 277.05°)
OKLaboklab(27.63% -0.0082 -0.0463)
OKLCHoklch(27.63% 0.047 260)
XYZxyz(2.0817, 2.0959, 4.9965)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A283F #3F311A
analogous
#1A3B3F #1A283F #1E1A3F
triadic
#1A283F #3F1A28 #283F1A
tetradic
#1A283F #3F1A3B #3F311A #1A3F1E
square
#1A283F #3F1A3B #3F311A #1A3F1E
split-complementary
#1A283F #3F1E1A #3B3F1A
monochromatic
#090E16 #090E16 #1A283F #2C446A #3E5F96

Accessibility & contrast

On white

14.80
#1A283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A283F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A283F#FFFFFF#000000##FFFFFF
##1A283F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#082D30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a283f;
/* rgb */ color: rgb(26, 40, 63);
/* oklch */ color: oklch(27.6% 0.047 260.0);
Tailwind
colors: {
  custom: {
    50: '#596174',
    500: '#1a283f',
    950: '#000000',
  },
}
SCSS
$custom: #1a283f;
$custom-light: #596174;
$custom-dark: #000000;
JSON
{
  "hex": "#1a283f",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 217.297,
    "s": 41.573,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27626,
    "c": 0.04703,
    "h": 260
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#1A283F
secondary
#756140
accent
#A356D1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1A283F

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

Preview Lab → · Contrast checker → · Palette generator →

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