#1A2F66#1A2F66

#1A2F66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.101 H 265.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2F66
RGBrgb(26, 47, 102)
HSLhsl(223, 59%, 25%)
HSVhsv(223, 75%, 40%)
CMYKcmyk(74.5%, 53.9%, 0%, 60%)
CIE-LABlab(20.87, 12.64, -34.87)
CIE-LCHlch(20.87, 37.09, 289.92°)
OKLaboklab(32.24% -0.0081 -0.1002)
OKLCHoklch(32.24% 0.101 265.4)
XYZxyz(3.8400, 3.2116, 12.9853)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F66 #66511A
analogous
#1A5566 #1A2F66 #2B1A66
triadic
#1A2F66 #661A2F #2F661A
tetradic
#1A2F66 #661A55 #66511A #1A662B
square
#1A2F66 #661A55 #66511A #1A662B
split-complementary
#1A2F66 #662B1A #55661A
monochromatic
#060B18 #0E1935 #1A2F66 #264597 #335CC8

Accessibility & contrast

On white

12.79
#1A2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F66
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F66#FFFFFF#000000##FFFFFF
##1A2F661.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3668
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2f66;
/* rgb */ color: rgb(26, 47, 102);
/* oklch */ color: oklch(32.2% 0.101 265.4);
Tailwind
colors: {
  custom: {
    50: '#626792',
    500: '#1a2f66',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f66;
$custom-light: #626792;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f66",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 223.421,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.10051,
    "h": 265.4
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#1A2F66
secondary
#9C8240
accent
#B745E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A2F66

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

Preview Lab → · Contrast checker → · Palette generator →

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