#1A257D#1A257D

#1A257D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.147 H 269.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1A257D
RGBrgb(26, 37, 125)
HSLhsl(233, 66%, 30%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(79.2%, 70.4%, 0%, 51%)
CIE-LABlab(20.14, 28.91, -50.87)
CIE-LCHlch(20.14, 58.51, 299.61°)
OKLaboklab(32.32% -0.0002 -0.1472)
OKLCHoklch(32.32% 0.147 269.9)
XYZxyz(4.7880, 3.0229, 19.7292)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A257D #7D721A
analogous
#1A577D #1A257D #401A7D
triadic
#1A257D #7D1A25 #257D1A
tetradic
#1A257D #7D1A57 #7D721A #1A7D40
square
#1A257D #7D1A57 #7D721A #1A7D40
split-complementary
#1A257D #7D401A #577D1A
monochromatic
#050719 #0F164A #1A257D #2534B0 #3B4CD6

Accessibility & contrast

On white

13.09
#1A257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A257D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A257D#FFFFFF#000000##FFFFFF
##1A257D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a257d;
/* rgb */ color: rgb(26, 37, 125);
/* oklch */ color: oklch(32.3% 0.147 269.9);
Tailwind
colors: {
  custom: {
    50: '#685fa4',
    500: '#1a257d',
    950: '#000000',
  },
}
SCSS
$custom: #1a257d;
$custom-light: #685fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a257d",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 233.333,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.14724,
    "h": 269.9
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#1A257D
secondary
#B1A542
accent
#D63FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A257D

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

Preview Lab → · Contrast checker → · Palette generator →

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