#1A248B#1A248B

#1A248B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.167 H 269.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1A248B
RGBrgb(26, 36, 139)
HSLhsl(235, 68%, 32%)
HSVhsv(235, 81%, 55%)
CMYKcmyk(81.3%, 74.1%, 0%, 45.5%)
CIE-LABlab(21.38, 34.79, -57.64)
CIE-LCHlch(21.38, 67.33, 301.11°)
OKLaboklab(33.66% -0.0014 -0.167)
OKLCHoklch(33.66% 0.167 269.5)
XYZxyz(5.7155, 3.3448, 24.7655)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A248B #8B811A
analogous
#1A5D8B #1A248B #481A8B
triadic
#1A248B #8B1A24 #248B1A
tetradic
#1A248B #8B1A5D #8B811A #1A8B48
square
#1A248B #8B1A5D #8B811A #1A8B48
split-complementary
#1A248B #8B481A #5D8B1A
monochromatic
#070924 #101757 #1A248B #2431BF #4351DC

Accessibility & contrast

On white

12.58
#1A248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A248B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A248B#FFFFFF#000000##FFFFFF
##1A248B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a248b;
/* rgb */ color: rgb(26, 36, 139);
/* oklch */ color: oklch(33.7% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c5fae',
    500: '#1a248b',
    950: '#000000',
  },
}
SCSS
$custom: #1a248b;
$custom-light: #6c5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a248b",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 234.69,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.16699,
    "h": 269.5
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#1A248B
secondary
#BDB244
accent
#DC3CEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A248B

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

Preview Lab → · Contrast checker → · Palette generator →

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