#1A2D65#1A2D65

#1A2D65 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.102 H 266.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1A2D65
RGBrgb(26, 45, 101)
HSLhsl(225, 59%, 25%)
HSVhsv(225, 74%, 40%)
CMYKcmyk(74.3%, 55.4%, 0%, 60.4%)
CIE-LABlab(20.19, 13.67, -35.33)
CIE-LCHlch(20.19, 37.88, 291.16°)
OKLaboklab(31.69% -0.0063 -0.1015)
OKLCHoklch(31.69% 0.102 266.5)
XYZxyz(3.7125, 3.0356, 12.6997)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D65 #65521A
analogous
#1A5365 #1A2D65 #2D1A65
triadic
#1A2D65 #651A2D #2D651A
tetradic
#1A2D65 #651A53 #65521A #1A652D
square
#1A2D65 #651A53 #65521A #1A652D
split-complementary
#1A2D65 #652D1A #53651A
monochromatic
#060B18 #0D1734 #1A2D65 #274396 #3358C6

Accessibility & contrast

On white

13.07
#1A2D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D65
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D65#FFFFFF#000000##FFFFFF
##1A2D651.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083467
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2d65;
/* rgb */ color: rgb(26, 45, 101);
/* oklch */ color: oklch(31.7% 0.102 266.5);
Tailwind
colors: {
  custom: {
    50: '#616591',
    500: '#1a2d65',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d65;
$custom-light: #616591;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d65",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 224.8,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3169,
    "c": 0.10174,
    "h": 266.5
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#1A2D65
secondary
#9B8440
accent
#BB46E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #1A2D65

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

Preview Lab → · Contrast checker → · Palette generator →

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