#1A2F6A#1A2F6A

#1A2F6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.107 H 265.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1A2F6A
RGBrgb(26, 47, 106)
HSLhsl(224, 61%, 26%)
HSVhsv(224, 75%, 42%)
CMYKcmyk(75.5%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.18, 14.28, -36.97)
CIE-LCHlch(21.18, 39.64, 291.12°)
OKLaboklab(32.57% -0.0076 -0.1064)
OKLCHoklch(32.57% 0.107 265.9)
XYZxyz(4.0431, 3.2928, 14.0554)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F6A #6A551A
analogous
#1A576A #1A2F6A #2D1A6A
triadic
#1A2F6A #6A1A2F #2F6A1A
tetradic
#1A2F6A #6A1A57 #6A551A #1A6A2D
square
#1A2F6A #6A1A57 #6A551A #1A6A2D
split-complementary
#1A2F6A #6A2D1A #576A1A
monochromatic
#060B19 #0E1939 #1A2F6A #26459B #325BCC

Accessibility & contrast

On white

12.66
#1A2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F6A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F6A#FFFFFF#000000##FFFFFF
##1A2F6A1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2f6a;
/* rgb */ color: rgb(26, 47, 106);
/* oklch */ color: oklch(32.6% 0.107 265.9);
Tailwind
colors: {
  custom: {
    50: '#636795',
    500: '#1a2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f6a;
$custom-light: #636795;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f6a",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 224.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32568,
    "c": 0.10663,
    "h": 265.9
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#1A2F6A
secondary
#9F8640
accent
#BA44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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