#1A2F65#1A2F65

#1A2F65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.099 H 265.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1A2F65
RGBrgb(26, 47, 101)
HSLhsl(223, 59%, 25%)
HSVhsv(223, 74%, 40%)
CMYKcmyk(74.3%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.80, 12.23, -34.34)
CIE-LCHlch(20.80, 36.45, 289.59°)
OKLaboklab(32.15% -0.0082 -0.0986)
OKLCHoklch(32.15% 0.099 265.2)
XYZxyz(3.7907, 3.1918, 12.7257)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F65 #65501A
analogous
#1A5565 #1A2F65 #2B1A65
triadic
#1A2F65 #651A2F #2F651A
tetradic
#1A2F65 #651A55 #65501A #1A652B
square
#1A2F65 #651A55 #65501A #1A652B
split-complementary
#1A2F65 #652B1A #55651A
monochromatic
#060B18 #0D1834 #1A2F65 #274696 #335CC6

Accessibility & contrast

On white

12.82
#1A2F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F65
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F65#FFFFFF#000000##FFFFFF
##1A2F651.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3667
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2f65;
/* rgb */ color: rgb(26, 47, 101);
/* oklch */ color: oklch(32.2% 0.099 265.2);
Tailwind
colors: {
  custom: {
    50: '#616791',
    500: '#1a2f65',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f65;
$custom-light: #616791;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f65",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 223.2,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32154,
    "c": 0.09896,
    "h": 265.2
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#1A2F65
secondary
#9B8140
accent
#B646E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #1A2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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