#1A195F#1A195F

#1A195F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 27.0% C 0.120 H 275.4°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#1A195F
RGBrgb(26, 25, 95)
HSLhsl(241, 58%, 24%)
HSVhsv(241, 74%, 37%)
CMYKcmyk(72.6%, 73.7%, 0%, 62.7%)
CIE-LABlab(14.06, 25.54, -41.34)
CIE-LCHlch(14.06, 48.60, 301.71°)
OKLaboklab(26.99% 0.0113 -0.1194)
OKLCHoklch(26.99% 0.12 275.4)
XYZxyz(2.8385, 1.7408, 11.0107)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A195F #5E5F19
analogous
#193B5F #1A195F #3D195F
triadic
#1A195F #5F1A19 #195F1A
tetradic
#1A195F #5F193B #5E5F19 #195F3D
square
#1A195F #5F193B #5E5F19 #195F3D
split-complementary
#1A195F #5F3D19 #3B5F19
monochromatic
#070618 #0D0C2F #1A195F #27268F #3532C0

Accessibility & contrast

On white

15.58
#1A195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1A195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A195F
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A195F#FFFFFF#000000##FFFFFF
##1A195F1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a195f;
/* rgb */ color: rgb(26, 25, 95);
/* oklch */ color: oklch(27.0% 0.120 275.4);
Tailwind
colors: {
  custom: {
    50: '#62568d',
    500: '#1a195f',
    950: '#000000',
  },
}
SCSS
$custom: #1a195f;
$custom-light: #62568d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a195f",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 240.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26988,
    "c": 0.11995,
    "h": 275.4
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#1A195F
secondary
#94953F
accent
#E246DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1A195F

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

Preview Lab → · Contrast checker → · Palette generator →

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