#1A235B#1A235B

#1A235B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.100 H 271.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1A235B
RGBrgb(26, 35, 91)
HSLhsl(232, 56%, 23%)
HSVhsv(232, 71%, 36%)
CMYKcmyk(71.4%, 61.5%, 0%, 64.3%)
CIE-LABlab(16.39, 16.90, -34.88)
CIE-LCHlch(16.39, 38.76, 295.85°)
OKLaboklab(28.58% 0.0028 -0.1004)
OKLCHoklch(28.58% 0.1 271.6)
XYZxyz(2.9147, 2.1767, 10.1620)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A235B #5B521A
analogous
#1A435B #1A235B #311A5B
triadic
#1A235B #5B1A23 #235B1A
tetradic
#1A235B #5B1A43 #5B521A #1A5B31
square
#1A235B #5B1A43 #5B521A #1A5B31
split-complementary
#1A235B #5B311A #435B1A
monochromatic
#070918 #0C112B #1A235B #28358B #3548BA

Accessibility & contrast

On white

14.63
#1A235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A235B
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A235B#FFFFFF#000000##FFFFFF
##1A235B1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a235b;
/* rgb */ color: rgb(26, 35, 91);
/* oklch */ color: oklch(28.6% 0.100 271.6);
Tailwind
colors: {
  custom: {
    50: '#605d8a',
    500: '#1a235b',
    950: '#000000',
  },
}
SCSS
$custom: #1a235b;
$custom-light: #605d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a235b",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 231.692,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28576,
    "c": 0.10042,
    "h": 271.6
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#1A235B
secondary
#918640
accent
#CA49DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A235B

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

Preview Lab → · Contrast checker → · Palette generator →

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