#1A236B#1A236B

#1A236B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.124 H 271.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#1A236B
RGBrgb(26, 35, 107)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 76%, 42%)
CMYKcmyk(75.7%, 67.3%, 0%, 58%)
CIE-LABlab(17.84, 23.29, -43.06)
CIE-LCHlch(17.84, 48.95, 298.40°)
OKLaboklab(30.1% 0.0025 -0.1244)
OKLCHoklch(30.1% 0.124 271.2)
XYZxyz(3.6800, 2.4828, 14.1924)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A236B #6B621A
analogous
#1A4B6B #1A236B #391A6B
triadic
#1A236B #6B1A23 #236B1A
tetradic
#1A236B #6B1A4B #6B621A #1A6B39
square
#1A236B #6B1A4B #6B621A #1A6B39
split-complementary
#1A236B #6B391A #4B6B1A
monochromatic
#060819 #0E133A #1A236B #26339C #3243CD

Accessibility & contrast

On white

14.03
#1A236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A236B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A236B#FFFFFF#000000##FFFFFF
##1A236B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a236b;
/* rgb */ color: rgb(26, 35, 107);
/* oklch */ color: oklch(30.1% 0.124 271.2);
Tailwind
colors: {
  custom: {
    50: '#645d96',
    500: '#1a236b',
    950: '#000000',
  },
}
SCSS
$custom: #1a236b;
$custom-light: #645d96;
$custom-dark: #000000;
JSON
{
  "hex": "#1a236b",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 233.333,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30103,
    "c": 0.12443,
    "h": 271.2
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#1A236B
secondary
#A09640
accent
#D244E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A236B

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

Preview Lab → · Contrast checker → · Palette generator →

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