#1A257E#1A257E

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

Color values

HEX#1A257E
RGBrgb(26, 37, 126)
HSLhsl(233, 66%, 30%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(79.4%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.24, 29.29, -51.34)
CIE-LCHlch(20.24, 59.10, 299.70°)
OKLaboklab(32.43% -0.0003 -0.1486)
OKLCHoklch(32.43% 0.149 269.9)
XYZxyz(4.8522, 3.0486, 20.0673)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A257E #7E731A
analogous
#1A577E #1A257E #411A7E
triadic
#1A257E #7E1A25 #257E1A
tetradic
#1A257E #7E1A57 #7E731A #1A7E41
square
#1A257E #7E1A57 #7E731A #1A7E41
split-complementary
#1A257E #7E411A #577E1A
monochromatic
#050719 #10164B #1A257E #2434B1 #3C4DD7

Accessibility & contrast

On white

13.05
#1A257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A257E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A257E#FFFFFF#000000##FFFFFF
##1A257E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a257e;
/* rgb */ color: rgb(26, 37, 126);
/* oklch */ color: oklch(32.4% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#695fa4',
    500: '#1a257e',
    950: '#000000',
  },
}
SCSS
$custom: #1a257e;
$custom-light: #695fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a257e",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 233.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.14861,
    "h": 269.9
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A257E

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

Preview Lab → · Contrast checker → · Palette generator →

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