#1A2F61#1A2F61

#1A2F61 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.093 H 264.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2F61
RGBrgb(26, 47, 97)
HSLhsl(222, 58%, 24%)
HSVhsv(222, 73%, 38%)
CMYKcmyk(73.2%, 51.5%, 0%, 62%)
CIE-LABlab(20.50, 10.58, -32.20)
CIE-LCHlch(20.50, 33.90, 288.18°)
OKLaboklab(31.83% -0.0088 -0.0923)
OKLCHoklch(31.83% 0.093 264.6)
XYZxyz(3.5994, 3.1154, 11.7186)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F61 #614C1A
analogous
#1A5361 #1A2F61 #291A61
triadic
#1A2F61 #611A2F #2F611A
tetradic
#1A2F61 #611A53 #614C1A #1A6129
square
#1A2F61 #611A53 #614C1A #1A6129
split-complementary
#1A2F61 #61291A #53611A
monochromatic
#060C18 #0D1831 #1A2F61 #274691 #345EC2

Accessibility & contrast

On white

12.94
#1A2F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F61
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F61#FFFFFF#000000##FFFFFF
##1A2F611.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143563
Deuteranopia (green-blind)
#032E60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2f61;
/* rgb */ color: rgb(26, 47, 97);
/* oklch */ color: oklch(31.8% 0.093 264.6);
Tailwind
colors: {
  custom: {
    50: '#60678e',
    500: '#1a2f61',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f61;
$custom-light: #60678e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f61",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 222.254,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31833,
    "c": 0.09274,
    "h": 264.6
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#1A2F61
secondary
#977D40
accent
#B347E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1A2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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