#1A248F#1A248F

#1A248F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.172 H 269.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1A248F
RGBrgb(26, 36, 143)
HSLhsl(235, 69%, 33%)
HSVhsv(235, 82%, 56%)
CMYKcmyk(81.8%, 74.8%, 0%, 43.9%)
CIE-LABlab(21.81, 36.24, -59.41)
CIE-LCHlch(21.81, 69.59, 301.38°)
OKLaboklab(34.1% -0.0019 -0.1721)
OKLCHoklch(34.1% 0.172 269.4)
XYZxyz(6.0131, 3.4638, 26.3329)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A248F #8F851A
analogous
#1A5E8F #1A248F #4A1A8F
triadic
#1A248F #8F1A24 #248F1A
tetradic
#1A248F #8F1A5E #8F851A #1A8F4A
square
#1A248F #8F1A5E #8F851A #1A8F4A
split-complementary
#1A248F #8F4A1A #5E8F1A
monochromatic
#070A27 #11175B #1A248F #2331C3 #4653DD

Accessibility & contrast

On white

12.40
#1A248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A248F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A248F#FFFFFF#000000##FFFFFF
##1A248F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a248f;
/* rgb */ color: rgb(26, 36, 143);
/* oklch */ color: oklch(34.1% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e60b1',
    500: '#1a248f',
    950: '#000000',
  },
}
SCSS
$custom: #1a248f;
$custom-light: #6e60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a248f",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 234.872,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.17213,
    "h": 269.4
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#1A248F
secondary
#BFB446
accent
#DD3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A248F

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

Preview Lab → · Contrast checker → · Palette generator →

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