#1A2F6F#1A2F6F

#1A2F6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.114 H 266.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1A2F6F
RGBrgb(26, 47, 111)
HSLhsl(225, 62%, 27%)
HSVhsv(225, 77%, 44%)
CMYKcmyk(76.6%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.58, 16.33, -39.56)
CIE-LCHlch(21.58, 42.80, 292.43°)
OKLaboklab(33% -0.0072 -0.114)
OKLCHoklch(33% 0.114 266.4)
XYZxyz(4.3108, 3.3999, 15.4649)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F6F #6F5A1A
analogous
#1A5A6F #1A2F6F #2F1A6F
triadic
#1A2F6F #6F1A2F #2F6F1A
tetradic
#1A2F6F #6F1A5A #6F5A1A #1A6F2F
square
#1A2F6F #6F1A5A #6F5A1A #1A6F2F
split-complementary
#1A2F6F #6F2F1A #5A6F1A
monochromatic
#060A19 #0E1A3D #1A2F6F #2644A1 #345ACF

Accessibility & contrast

On white

12.50
#1A2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F6F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F6F#FFFFFF#000000##FFFFFF
##1A2F6F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2f6f;
/* rgb */ color: rgb(26, 47, 111);
/* oklch */ color: oklch(33.0% 0.114 266.4);
Tailwind
colors: {
  custom: {
    50: '#646799',
    500: '#1a2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f6f;
$custom-light: #646799;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f6f",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 225.176,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.11419,
    "h": 266.4
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#1A2F6F
secondary
#A48C41
accent
#BD43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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