#1A236F#1A236F

#1A236F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.130 H 271.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1A236F
RGBrgb(26, 35, 111)
HSLhsl(234, 62%, 27%)
HSVhsv(234, 77%, 44%)
CMYKcmyk(76.6%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.23, 24.85, -45.02)
CIE-LCHlch(18.23, 51.43, 298.90°)
OKLaboklab(30.51% 0.0022 -0.1302)
OKLCHoklch(30.51% 0.13 271)
XYZxyz(3.8953, 2.5690, 15.3264)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A236F #6F661A
analogous
#1A4E6F #1A236F #3C1A6F
triadic
#1A236F #6F1A23 #236F1A
tetradic
#1A236F #6F1A4E #6F661A #1A6F3C
square
#1A236F #6F1A4E #6F661A #1A6F3C
split-complementary
#1A236F #6F3C1A #4E6F1A
monochromatic
#060819 #0E133D #1A236F #2633A1 #3444CF

Accessibility & contrast

On white

13.87
#1A236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A236F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A236F#FFFFFF#000000##FFFFFF
##1A236F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a236f;
/* rgb */ color: rgb(26, 35, 111);
/* oklch */ color: oklch(30.5% 0.130 271.0);
Tailwind
colors: {
  custom: {
    50: '#655e99',
    500: '#1a236f',
    950: '#000000',
  },
}
SCSS
$custom: #1a236f;
$custom-light: #655e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a236f",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 233.647,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30505,
    "c": 0.13018,
    "h": 271
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#1A236F
secondary
#A49A41
accent
#D443E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A236F

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

Preview Lab → · Contrast checker → · Palette generator →

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