#1A233D#1A233D

#1A233D is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.2% C 0.051 H 268.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1A233D
RGBrgb(26, 35, 61)
HSLhsl(225, 40%, 17%)
HSVhsv(225, 57%, 24%)
CMYKcmyk(57.4%, 42.6%, 0%, 76.1%)
CIE-LABlab(14.17, 4.94, -17.92)
CIE-LCHlch(14.17, 18.59, 285.40°)
OKLaboklab(26.18% -0.0015 -0.0506)
OKLCHoklch(26.18% 0.051 268.3)
XYZxyz(1.8691, 1.7585, 4.6549)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A233D #3D341A
analogous
#1A353D #1A233D #231A3D
triadic
#1A233D #3D1A23 #233D1A
tetradic
#1A233D #3D1A35 #3D341A #1A3D23
square
#1A233D #3D1A35 #3D341A #1A3D23
split-complementary
#1A233D #3D231A #353D1A
monochromatic
#090C15 #090C15 #1A233D #2C3C68 #3F5493

Accessibility & contrast

On white

15.53
#1A233D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A233D
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A233D#FFFFFF#000000##FFFFFF
##1A233D1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263E
Deuteranopia (green-blind)
#15233C
Tritanopia (blue-blind)
#0B292D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a233d;
/* rgb */ color: rgb(26, 35, 61);
/* oklch */ color: oklch(26.2% 0.051 268.3);
Tailwind
colors: {
  custom: {
    50: '#595d72',
    500: '#1a233d',
    950: '#000000',
  },
}
SCSS
$custom: #1a233d;
$custom-light: #595d72;
$custom-dark: #000000;
JSON
{
  "hex": "#1a233d",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 61
  },
  "hsl": {
    "h": 224.571,
    "s": 40.23,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26176,
    "c": 0.05062,
    "h": 268.3
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#1A233D
secondary
#736640
accent
#B158D0
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040408
muted
#79797B

Preview Lab

Preview with #1A233D

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

Preview Lab → · Contrast checker → · Palette generator →

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