#1A2F63#1A2F63

#1A2F63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.096 H 264.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1A2F63
RGBrgb(26, 47, 99)
HSLhsl(223, 58%, 25%)
HSVhsv(223, 74%, 39%)
CMYKcmyk(73.7%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.65, 11.40, -33.28)
CIE-LCHlch(20.65, 35.18, 288.91°)
OKLaboklab(31.99% -0.0085 -0.0955)
OKLCHoklch(31.99% 0.096 264.9)
XYZxyz(3.6939, 3.1531, 12.2159)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F63 #634E1A
analogous
#1A5463 #1A2F63 #2A1A63
triadic
#1A2F63 #631A2F #2F631A
tetradic
#1A2F63 #631A54 #634E1A #1A632A
square
#1A2F63 #631A54 #634E1A #1A632A
split-complementary
#1A2F63 #632A1A #54631A
monochromatic
#060C18 #0D1833 #1A2F63 #274693 #335DC4

Accessibility & contrast

On white

12.88
#1A2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F63
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F63#FFFFFF#000000##FFFFFF
##1A2F631.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2f63;
/* rgb */ color: rgb(26, 47, 99);
/* oklch */ color: oklch(32.0% 0.096 264.9);
Tailwind
colors: {
  custom: {
    50: '#616790',
    500: '#1a2f63',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f63;
$custom-light: #616790;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f63",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 222.74,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.09586,
    "h": 264.9
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#1A2F63
secondary
#997F40
accent
#B546E2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1A2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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