#1A2867#1A2867

#1A2867 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.112 H 269.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1A2867
RGBrgb(26, 40, 103)
HSLhsl(229, 60%, 25%)
HSVhsv(229, 75%, 40%)
CMYKcmyk(74.8%, 61.2%, 0%, 59.6%)
CIE-LABlab(18.87, 18.12, -38.77)
CIE-LCHlch(18.87, 42.79, 295.04°)
OKLaboklab(30.75% -0.0015 -0.1118)
OKLCHoklch(30.75% 0.112 269.2)
XYZxyz(3.6321, 2.7161, 13.1622)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2867 #67591A
analogous
#1A4E67 #1A2867 #321A67
triadic
#1A2867 #671A28 #28671A
tetradic
#1A2867 #671A4E #67591A #1A6732
square
#1A2867 #671A4E #67591A #1A6732
split-complementary
#1A2867 #67321A #4E671A
monochromatic
#060918 #0E1536 #1A2867 #263B98 #334EC9

Accessibility & contrast

On white

13.61
#1A2867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2867
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2867#FFFFFF#000000##FFFFFF
##1A28671.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2867;
/* rgb */ color: rgb(26, 40, 103);
/* oklch */ color: oklch(30.8% 0.112 269.2);
Tailwind
colors: {
  custom: {
    50: '#626193',
    500: '#1a2867',
    950: '#000000',
  },
}
SCSS
$custom: #1a2867;
$custom-light: #626193;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2867",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 229.091,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30751,
    "c": 0.11177,
    "h": 269.2
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#1A2867
secondary
#9D8C40
accent
#C645E3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1A2867

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

Preview Lab → · Contrast checker → · Palette generator →

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