#1A2F67#1A2F67

#1A2F67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.102 H 265.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1A2F67
RGBrgb(26, 47, 103)
HSLhsl(224, 60%, 25%)
HSVhsv(224, 75%, 40%)
CMYKcmyk(74.8%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.95, 13.05, -35.40)
CIE-LCHlch(20.95, 37.73, 290.23°)
OKLaboklab(32.32% -0.008 -0.1017)
OKLCHoklch(32.32% 0.102 265.5)
XYZxyz(3.8898, 3.2315, 13.2481)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F67 #67521A
analogous
#1A5667 #1A2F67 #2B1A67
triadic
#1A2F67 #671A2F #2F671A
tetradic
#1A2F67 #671A56 #67521A #1A672B
square
#1A2F67 #671A56 #67521A #1A672B
split-complementary
#1A2F67 #672B1A #56671A
monochromatic
#060B18 #0E1936 #1A2F67 #264598 #335CC9

Accessibility & contrast

On white

12.76
#1A2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F67
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F67#FFFFFF#000000##FFFFFF
##1A2F671.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3669
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2f67;
/* rgb */ color: rgb(26, 47, 103);
/* oklch */ color: oklch(32.3% 0.102 265.5);
Tailwind
colors: {
  custom: {
    50: '#626793',
    500: '#1a2f67',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f67;
$custom-light: #626793;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f67",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 223.636,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32318,
    "c": 0.10204,
    "h": 265.5
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#1A2F67
secondary
#9D8340
accent
#B845E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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