#1A2E4E#1A2E4E

#1A2E4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.064 H 259.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1A2E4E
RGBrgb(26, 46, 78)
HSLhsl(217, 50%, 20%)
HSVhsv(217, 67%, 31%)
CMYKcmyk(66.7%, 41%, 0%, 69.4%)
CIE-LABlab(18.90, 3.58, -22.12)
CIE-LCHlch(18.90, 22.41, 279.19°)
OKLaboklab(30.19% -0.0117 -0.0627)
OKLCHoklch(30.19% 0.064 259.4)
XYZxyz(2.7777, 2.7234, 7.5855)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E4E #4E3A1A
analogous
#1A484E #1A2E4E #201A4E
triadic
#1A2E4E #4E1A2E #2E4E1A
tetradic
#1A2E4E #4E1A48 #4E3A1A #1A4E20
square
#1A2E4E #4E1A48 #4E3A1A #1A4E20
split-complementary
#1A2E4E #4E201A #484E1A
monochromatic
#080E17 #0B1320 #1A2E4E #29497C #3964AA

Accessibility & contrast

On white

13.59
#1A2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E4E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E4E#FFFFFF#000000##FFFFFF
##1A2E4E1.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#192C4D
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2e4e;
/* rgb */ color: rgb(26, 46, 78);
/* oklch */ color: oklch(30.2% 0.064 259.4);
Tailwind
colors: {
  custom: {
    50: '#5c6680',
    500: '#1a2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e4e;
$custom-light: #5c6680;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e4e",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 216.923,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30188,
    "c": 0.06383,
    "h": 259.4
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#1A2E4E
secondary
#846A40
accent
#A44EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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