#1A233E#1A233E

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

Color values

HEX#1A233E
RGBrgb(26, 35, 62)
HSLhsl(225, 41%, 17%)
HSVhsv(225, 58%, 24%)
CMYKcmyk(58.1%, 43.5%, 0%, 75.7%)
CIE-LABlab(14.23, 5.32, -18.53)
CIE-LCHlch(14.23, 19.28, 286.02°)
OKLaboklab(26.25% -0.0012 -0.0524)
OKLCHoklch(26.25% 0.052 268.7)
XYZxyz(1.8963, 1.7694, 4.7981)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A233E #3E351A
analogous
#1A353E #1A233E #231A3E
triadic
#1A233E #3E1A23 #233E1A
tetradic
#1A233E #3E1A35 #3E351A #1A3E23
square
#1A233E #3E1A35 #3E351A #1A3E23
split-complementary
#1A233E #3E231A #353E1A
monochromatic
#090C16 #090C16 #1A233E #2C3B69 #3E5494

Accessibility & contrast

On white

15.51
#1A233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A233E
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A233E#FFFFFF#000000##FFFFFF
##1A233E1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18263F
Deuteranopia (green-blind)
#15233D
Tritanopia (blue-blind)
#0A292D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a233e;
/* rgb */ color: rgb(26, 35, 62);
/* oklch */ color: oklch(26.2% 0.052 268.7);
Tailwind
colors: {
  custom: {
    50: '#595d73',
    500: '#1a233e',
    950: '#000000',
  },
}
SCSS
$custom: #1a233e;
$custom-light: #595d73;
$custom-dark: #000000;
JSON
{
  "hex": "#1a233e",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 225,
    "s": 40.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26245,
    "c": 0.05237,
    "h": 268.7
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#1A233E
secondary
#746740
accent
#B257D1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1A233E

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

Preview Lab → · Contrast checker → · Palette generator →

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