#1A273E#1A273E

#1A273E is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.3% C 0.047 H 261.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1A273E
RGBrgb(26, 39, 62)
HSLhsl(218, 41%, 17%)
HSVhsv(218, 58%, 24%)
CMYKcmyk(58.1%, 37.1%, 0%, 75.7%)
CIE-LABlab(15.58, 2.38, -16.39)
CIE-LCHlch(15.58, 16.56, 278.26°)
OKLaboklab(27.3% -0.0071 -0.0461)
OKLCHoklch(27.3% 0.047 261.3)
XYZxyz(2.0207, 2.0183, 4.8396)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A273E #3E311A
analogous
#1A393E #1A273E #1F1A3E
triadic
#1A273E #3E1A27 #273E1A
tetradic
#1A273E #3E1A39 #3E311A #1A3E1F
square
#1A273E #3E1A39 #3E311A #1A3E1F
split-complementary
#1A273E #3E1F1A #393E1A
monochromatic
#090E16 #090E16 #1A273E #2C4269 #3E5D94

Accessibility & contrast

On white

14.96
#1A273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A273E
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A273E#FFFFFF#000000##FFFFFF
##1A273E1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#1A253E
Tritanopia (blue-blind)
#092C2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a273e;
/* rgb */ color: rgb(26, 39, 62);
/* oklch */ color: oklch(27.3% 0.047 261.3);
Tailwind
colors: {
  custom: {
    50: '#596073',
    500: '#1a273e',
    950: '#000000',
  },
}
SCSS
$custom: #1a273e;
$custom-light: #596073;
$custom-dark: #000000;
JSON
{
  "hex": "#1a273e",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 218.333,
    "s": 40.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27296,
    "c": 0.04666,
    "h": 261.3
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#1A273E
secondary
#746140
accent
#A557D1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1A273E

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

Preview Lab → · Contrast checker → · Palette generator →

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