#1A236E#1A236E

#1A236E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.129 H 271.0°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#1A236E
RGBrgb(26, 35, 110)
HSLhsl(234, 62%, 27%)
HSVhsv(234, 76%, 43%)
CMYKcmyk(76.4%, 68.2%, 0%, 56.9%)
CIE-LABlab(18.13, 24.46, -44.54)
CIE-LCHlch(18.13, 50.81, 298.78°)
OKLaboklab(30.4% 0.0023 -0.1287)
OKLCHoklch(30.4% 0.129 271)
XYZxyz(3.8405, 2.5471, 15.0381)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A236E #6E651A
analogous
#1A4D6E #1A236E #3B1A6E
triadic
#1A236E #6E1A23 #236E1A
tetradic
#1A236E #6E1A4D #6E651A #1A6E3B
square
#1A236E #6E1A4D #6E651A #1A6E3B
split-complementary
#1A236E #6E3B1A #4D6E1A
monochromatic
#060819 #0E133D #1A236E #2633A0 #3444CF

Accessibility & contrast

On white

13.91
#1A236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A236E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A236E#FFFFFF#000000##FFFFFF
##1A236E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a236e;
/* rgb */ color: rgb(26, 35, 110);
/* oklch */ color: oklch(30.4% 0.129 271.0);
Tailwind
colors: {
  custom: {
    50: '#655e98',
    500: '#1a236e',
    950: '#000000',
  },
}
SCSS
$custom: #1a236e;
$custom-light: #655e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a236e",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 233.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30404,
    "c": 0.12875,
    "h": 271
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A236E

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

Preview Lab → · Contrast checker → · Palette generator →

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