#1A2863#1A2863

#1A2863 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.106 H 269.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1A2863
RGBrgb(26, 40, 99)
HSLhsl(228, 58%, 25%)
HSVhsv(228, 74%, 39%)
CMYKcmyk(73.7%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.53, 16.49, -36.70)
CIE-LCHlch(18.53, 40.23, 294.20°)
OKLaboklab(30.39% -0.0017 -0.1057)
OKLCHoklch(30.39% 0.106 269.1)
XYZxyz(3.4362, 2.6377, 12.1300)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2863 #63551A
analogous
#1A4D63 #1A2863 #311A63
triadic
#1A2863 #631A28 #28631A
tetradic
#1A2863 #631A4D #63551A #1A6331
square
#1A2863 #631A4D #63551A #1A6331
split-complementary
#1A2863 #63311A #4D631A
monochromatic
#060A18 #0D1433 #1A2863 #273C93 #334FC4

Accessibility & contrast

On white

13.75
#1A2863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2863
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2863#FFFFFF#000000##FFFFFF
##1A28631.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2863;
/* rgb */ color: rgb(26, 40, 99);
/* oklch */ color: oklch(30.4% 0.106 269.1);
Tailwind
colors: {
  custom: {
    50: '#616190',
    500: '#1a2863',
    950: '#000000',
  },
}
SCSS
$custom: #1a2863;
$custom-light: #616190;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2863",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 228.493,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30391,
    "c": 0.10568,
    "h": 269.1
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#1A2863
secondary
#998840
accent
#C446E2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A2863

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

Preview Lab → · Contrast checker → · Palette generator →

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