#1A236C#1A236C

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

Color values

HEX#1A236C
RGBrgb(26, 35, 108)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 76%, 42%)
CMYKcmyk(75.9%, 67.6%, 0%, 57.6%)
CIE-LABlab(17.94, 23.68, -43.55)
CIE-LCHlch(17.94, 49.57, 298.53°)
OKLaboklab(30.2% 0.0024 -0.1258)
OKLCHoklch(30.2% 0.126 271.1)
XYZxyz(3.7329, 2.5040, 14.4710)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A236C #6C631A
analogous
#1A4C6C #1A236C #3A1A6C
triadic
#1A236C #6C1A23 #236C1A
tetradic
#1A236C #6C1A4C #6C631A #1A6C3A
square
#1A236C #6C1A4C #6C631A #1A6C3A
split-complementary
#1A236C #6C3A1A #4C6C1A
monochromatic
#060819 #0E133B #1A236C #26339D #3344CE

Accessibility & contrast

On white

13.99
#1A236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A236C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A236C#FFFFFF#000000##FFFFFF
##1A236C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a236c;
/* rgb */ color: rgb(26, 35, 108);
/* oklch */ color: oklch(30.2% 0.126 271.1);
Tailwind
colors: {
  custom: {
    50: '#645e97',
    500: '#1a236c',
    950: '#000000',
  },
}
SCSS
$custom: #1a236c;
$custom-light: #645e97;
$custom-dark: #000000;
JSON
{
  "hex": "#1a236c",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 233.415,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30203,
    "c": 0.12587,
    "h": 271.1
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#1A236C
secondary
#A19741
accent
#D343E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A236C

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

Preview Lab → · Contrast checker → · Palette generator →

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