#1A257C#1A257C

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

Color values

HEX#1A257C
RGBrgb(26, 37, 124)
HSLhsl(233, 65%, 29%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(79%, 70.2%, 0%, 51.4%)
CIE-LABlab(20.03, 28.52, -50.40)
CIE-LCHlch(20.03, 57.91, 299.50°)
OKLaboklab(32.22% -0.0001 -0.1459)
OKLCHoklch(32.22% 0.146 269.9)
XYZxyz(4.7244, 2.9975, 19.3945)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A257C #7C711A
analogous
#1A567C #1A257C #401A7C
triadic
#1A257C #7C1A25 #257C1A
tetradic
#1A257C #7C1A56 #7C711A #1A7C40
square
#1A257C #7C1A56 #7C711A #1A7C40
split-complementary
#1A257C #7C401A #567C1A
monochromatic
#050819 #0F1649 #1A257C #2534AF #3B4CD6

Accessibility & contrast

On white

13.13
#1A257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A257C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A257C#FFFFFF#000000##FFFFFF
##1A257C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a257c;
/* rgb */ color: rgb(26, 37, 124);
/* oklch */ color: oklch(32.2% 0.146 269.9);
Tailwind
colors: {
  custom: {
    50: '#685fa3',
    500: '#1a257c',
    950: '#000000',
  },
}
SCSS
$custom: #1a257c;
$custom-light: #685fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a257c",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 233.265,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32217,
    "c": 0.14587,
    "h": 269.9
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#1A257C
secondary
#B0A442
accent
#D540E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A257C

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

Preview Lab → · Contrast checker → · Palette generator →

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