#1A188B#1A188B

#1A188B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.178 H 270.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1A188B
RGBrgb(26, 24, 139)
HSLhsl(241, 71%, 32%)
HSVhsv(241, 83%, 55%)
CMYKcmyk(81.3%, 82.7%, 0%, 45.5%)
CIE-LABlab(18.96, 41.68, -61.65)
CIE-LCHlch(18.96, 74.42, 304.06°)
OKLaboklab(31.95% 0.0027 -0.1785)
OKLCHoklch(31.95% 0.178 270.9)
XYZxyz(5.4113, 2.7363, 24.6641)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A188B #898B18
analogous
#18508B #1A188B #53188B
triadic
#1A188B #8B1A18 #188B1A
tetradic
#1A188B #8B1850 #898B18 #188B53
square
#1A188B #8B1850 #898B18 #188B53
split-complementary
#1A188B #8B5318 #508B18
monochromatic
#060623 #100F57 #1A188B #2421BF #423FDE

Accessibility & contrast

On white

13.57
#1A188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A188B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A188B#FFFFFF#000000##FFFFFF
##1A188B1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a188b;
/* rgb */ color: rgb(26, 24, 139);
/* oklch */ color: oklch(31.9% 0.178 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e58ae',
    500: '#1a188b',
    950: '#000000',
  },
}
SCSS
$custom: #1a188b;
$custom-light: #6e58ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a188b",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 241.043,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31949,
    "c": 0.17848,
    "h": 270.9
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#1A188B
secondary
#BCBE40
accent
#ED3AEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1A188B

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

Preview Lab → · Contrast checker → · Palette generator →

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