#1A236D#1A236D

#1A236D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.127 H 271.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1A236D
RGBrgb(26, 35, 109)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 76%, 43%)
CMYKcmyk(76.1%, 67.9%, 0%, 57.3%)
CIE-LABlab(18.03, 24.07, -44.05)
CIE-LCHlch(18.03, 50.19, 298.66°)
OKLaboklab(30.3% 0.0024 -0.1273)
OKLCHoklch(30.3% 0.127 271.1)
XYZxyz(3.7864, 2.5254, 14.7529)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A236D #6D641A
analogous
#1A4D6D #1A236D #3B1A6D
triadic
#1A236D #6D1A23 #236D1A
tetradic
#1A236D #6D1A4D #6D641A #1A6D3B
square
#1A236D #6D1A4D #6D641A #1A6D3B
split-complementary
#1A236D #6D3B1A #4D6D1A
monochromatic
#060819 #0E133C #1A236D #26339E #3344CE

Accessibility & contrast

On white

13.95
#1A236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A236D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A236D#FFFFFF#000000##FFFFFF
##1A236D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a236d;
/* rgb */ color: rgb(26, 35, 109);
/* oklch */ color: oklch(30.3% 0.127 271.1);
Tailwind
colors: {
  custom: {
    50: '#645e98',
    500: '#1a236d',
    950: '#000000',
  },
}
SCSS
$custom: #1a236d;
$custom-light: #645e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a236d",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 233.494,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30303,
    "c": 0.12731,
    "h": 271.1
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#1A236D
secondary
#A29841
accent
#D343E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A236D

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

Preview Lab → · Contrast checker → · Palette generator →

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