#1A2E58#1A2E58

#1A2E58 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.080 H 263.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#1A2E58
RGBrgb(26, 46, 88)
HSLhsl(221, 54%, 22%)
HSVhsv(221, 70%, 35%)
CMYKcmyk(70.5%, 47.7%, 0%, 65.5%)
CIE-LABlab(19.55, 7.62, -27.79)
CIE-LCHlch(19.55, 28.81, 285.33°)
OKLaboklab(30.9% -0.0093 -0.0793)
OKLCHoklch(30.9% 0.08 263.3)
XYZxyz(3.1638, 2.8779, 9.6194)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E58 #58441A
analogous
#1A4D58 #1A2E58 #251A58
triadic
#1A2E58 #581A2E #2E581A
tetradic
#1A2E58 #581A4D #58441A #1A5825
square
#1A2E58 #581A4D #58441A #1A5825
split-complementary
#1A2E58 #58251A #4D581A
monochromatic
#070C18 #0C1529 #1A2E58 #284787 #365FB6

Accessibility & contrast

On white

13.33
#1A2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E58
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E58#FFFFFF#000000##FFFFFF
##1A2E581.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A325A
Deuteranopia (green-blind)
#102D57
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2e58;
/* rgb */ color: rgb(26, 46, 88);
/* oklch */ color: oklch(30.9% 0.080 263.3);
Tailwind
colors: {
  custom: {
    50: '#5e6687',
    500: '#1a2e58',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e58;
$custom-light: #5e6687;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e58",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 220.645,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30899,
    "c": 0.07989,
    "h": 263.3
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#1A2E58
secondary
#8E7540
accent
#AE4ADE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1A2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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