#1A235E#1A235E

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

Color values

HEX#1A235E
RGBrgb(26, 35, 94)
HSLhsl(232, 57%, 24%)
HSVhsv(232, 72%, 37%)
CMYKcmyk(72.3%, 62.8%, 0%, 63.1%)
CIE-LABlab(16.65, 18.11, -36.45)
CIE-LCHlch(16.65, 40.70, 296.41°)
OKLaboklab(28.85% 0.0029 -0.105)
OKLCHoklch(28.85% 0.105 271.6)
XYZxyz(3.0467, 2.2295, 10.8573)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A235E #5E551A
analogous
#1A455E #1A235E #331A5E
triadic
#1A235E #5E1A23 #235E1A
tetradic
#1A235E #5E1A45 #5E551A #1A5E33
square
#1A235E #5E1A45 #5E551A #1A5E33
split-complementary
#1A235E #5E331A #455E1A
monochromatic
#070918 #0D112E #1A235E #27358E #3547BE

Accessibility & contrast

On white

14.52
#1A235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A235E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A235E#FFFFFF#000000##FFFFFF
##1A235E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a235e;
/* rgb */ color: rgb(26, 35, 94);
/* oklch */ color: oklch(28.9% 0.105 271.6);
Tailwind
colors: {
  custom: {
    50: '#605d8c',
    500: '#1a235e',
    950: '#000000',
  },
}
SCSS
$custom: #1a235e;
$custom-light: #605d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a235e",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 232.059,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28851,
    "c": 0.10505,
    "h": 271.6
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#1A235E
secondary
#948940
accent
#CC48E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A235E

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

Preview Lab → · Contrast checker → · Palette generator →

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