#1A233B#1A233B

#1A233B is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.0% C 0.047 H 267.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#1A233B
RGBrgb(26, 35, 59)
HSLhsl(224, 39%, 17%)
HSVhsv(224, 56%, 23%)
CMYKcmyk(55.9%, 40.7%, 0%, 76.9%)
CIE-LABlab(14.04, 4.18, -16.71)
CIE-LCHlch(14.04, 17.22, 284.03°)
OKLaboklab(26.04% -0.0021 -0.0471)
OKLCHoklch(26.04% 0.047 267.5)
XYZxyz(1.8162, 1.7373, 4.3765)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A233B #3B321A
analogous
#1A343B #1A233B #221A3B
triadic
#1A233B #3B1A23 #233B1A
tetradic
#1A233B #3B1A34 #3B321A #1A3B22
square
#1A233B #3B1A34 #3B321A #1A3B22
split-complementary
#1A233B #3B221A #343B1A
monochromatic
#090D15 #090D15 #1A233B #2D3C65 #3F5590

Accessibility & contrast

On white

15.59
#1A233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A233B
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A233B#FFFFFF#000000##FFFFFF
##1A233B1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253C
Deuteranopia (green-blind)
#16223A
Tritanopia (blue-blind)
#0D282C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a233b;
/* rgb */ color: rgb(26, 35, 59);
/* oklch */ color: oklch(26.0% 0.047 267.5);
Tailwind
colors: {
  custom: {
    50: '#595d71',
    500: '#1a233b',
    950: '#000000',
  },
}
SCSS
$custom: #1a233b;
$custom-light: #595d71;
$custom-dark: #000000;
JSON
{
  "hex": "#1a233b",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 223.636,
    "s": 38.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26043,
    "c": 0.04712,
    "h": 267.5
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#1A233B
secondary
#706340
accent
#AF59CF
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #1A233B

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

Preview Lab → · Contrast checker → · Palette generator →

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