#1A257A#1A257A

#1A257A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.143 H 270.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1A257A
RGBrgb(26, 37, 122)
HSLhsl(233, 65%, 29%)
HSVhsv(233, 79%, 48%)
CMYKcmyk(78.7%, 69.7%, 0%, 52.2%)
CIE-LABlab(19.83, 27.75, -49.46)
CIE-LCHlch(19.83, 56.72, 299.30°)
OKLaboklab(32.01% 0.0001 -0.1431)
OKLCHoklch(32.01% 0.143 270)
XYZxyz(4.5992, 2.9474, 18.7351)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A257A #7A6F1A
analogous
#1A557A #1A257A #3F1A7A
triadic
#1A257A #7A1A25 #257A1A
tetradic
#1A257A #7A1A55 #7A6F1A #1A7A3F
square
#1A257A #7A1A55 #7A6F1A #1A7A3F
split-complementary
#1A257A #7A3F1A #557A1A
monochromatic
#050819 #0F1648 #1A257A #2534AC #394BD5

Accessibility & contrast

On white

13.21
#1A257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A257A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A257A#FFFFFF#000000##FFFFFF
##1A257A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a257a;
/* rgb */ color: rgb(26, 37, 122);
/* oklch */ color: oklch(32.0% 0.143 270.0);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1a257a',
    950: '#000000',
  },
}
SCSS
$custom: #1a257a;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a257a",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 233.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32009,
    "c": 0.14312,
    "h": 270
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#1A257A
secondary
#AEA241
accent
#D540E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A257A

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

Preview Lab → · Contrast checker → · Palette generator →

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