#1A2F68#1A2F68

#1A2F68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.104 H 265.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1A2F68
RGBrgb(26, 47, 104)
HSLhsl(224, 60%, 25%)
HSVhsv(224, 75%, 41%)
CMYKcmyk(75%, 54.8%, 0%, 59.2%)
CIE-LABlab(21.02, 13.46, -35.93)
CIE-LCHlch(21.02, 38.37, 290.54°)
OKLaboklab(32.4% -0.0078 -0.1033)
OKLCHoklch(32.4% 0.104 265.7)
XYZxyz(3.9403, 3.2517, 13.5140)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F68 #68531A
analogous
#1A5668 #1A2F68 #2C1A68
triadic
#1A2F68 #681A2F #2F681A
tetradic
#1A2F68 #681A56 #68531A #1A682C
square
#1A2F68 #681A56 #68531A #1A682C
split-complementary
#1A2F68 #682C1A #56681A
monochromatic
#060B18 #0E1937 #1A2F68 #264599 #325BCA

Accessibility & contrast

On white

12.72
#1A2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2F68
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F68#FFFFFF#000000##FFFFFF
##1A2F681.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A366A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2f68;
/* rgb */ color: rgb(26, 47, 104);
/* oklch */ color: oklch(32.4% 0.104 265.7);
Tailwind
colors: {
  custom: {
    50: '#626794',
    500: '#1a2f68',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f68;
$custom-light: #626794;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f68",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 223.846,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32401,
    "c": 0.10358,
    "h": 265.7
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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