#1A2B8F#1A2B8F

#1A2B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.164 H 268.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1A2B8F
RGBrgb(26, 43, 143)
HSLhsl(231, 69%, 33%)
HSVhsv(231, 82%, 56%)
CMYKcmyk(81.8%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.44, 31.78, -56.73)
CIE-LCHlch(23.44, 65.03, 299.26°)
OKLaboklab(35.27% -0.005 -0.1643)
OKLCHoklch(35.27% 0.164 268.3)
XYZxyz(6.2461, 3.9298, 26.4106)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B8F #8F7E1A
analogous
#1A658F #1A2B8F #431A8F
triadic
#1A2B8F #8F1A2B #2B8F1A
tetradic
#1A2B8F #8F1A65 #8F7E1A #1A8F43
square
#1A2B8F #8F1A65 #8F7E1A #1A8F43
split-complementary
#1A2B8F #8F431A #658F1A
monochromatic
#070C27 #111B5B #1A2B8F #233BC3 #465CDD

Accessibility & contrast

On white

11.76
#1A2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B8F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B8F#FFFFFF#000000##FFFFFF
##1A2B8F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2b8f;
/* rgb */ color: rgb(26, 43, 143);
/* oklch */ color: oklch(35.3% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d64b1',
    500: '#1a2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b8f;
$custom-light: #6d64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b8f",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 231.282,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.16441,
    "h": 268.3
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#1A2B8F
secondary
#BFAD46
accent
#D23CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1A2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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