#1A304F#1A304F

#1A304F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.063 H 257.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1A304F
RGBrgb(26, 48, 79)
HSLhsl(215, 50%, 21%)
HSVhsv(215, 67%, 31%)
CMYKcmyk(67.1%, 39.2%, 0%, 69%)
CIE-LABlab(19.63, 2.55, -21.64)
CIE-LCHlch(19.63, 21.79, 276.72°)
OKLaboklab(30.78% -0.014 -0.0613)
OKLCHoklch(30.78% 0.063 257.2)
XYZxyz(2.8937, 2.8978, 7.8024)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A304F #4F391A
analogous
#1A4A4F #1A304F #1E1A4F
triadic
#1A304F #4F1A30 #304F1A
tetradic
#1A304F #4F1A4A #4F391A #1A4F1E
square
#1A304F #4F1A4A #4F391A #1A4F1E
split-complementary
#1A304F #4F1E1A #4A4F1A
monochromatic
#080E17 #0B1421 #1A304F #294C7D #3868AB

Accessibility & contrast

On white

13.29
#1A304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A304F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A304F#FFFFFF#000000##FFFFFF
##1A304F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233250
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a304f;
/* rgb */ color: rgb(26, 48, 79);
/* oklch */ color: oklch(30.8% 0.063 257.2);
Tailwind
colors: {
  custom: {
    50: '#5c6880',
    500: '#1a304f',
    950: '#000000',
  },
}
SCSS
$custom: #1a304f;
$custom-light: #5c6880;
$custom-dark: #000000;
JSON
{
  "hex": "#1a304f",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 215.094,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30775,
    "c": 0.06288,
    "h": 257.2
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#1A304F
secondary
#856840
accent
#A04EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A304F

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

Preview Lab → · Contrast checker → · Palette generator →

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