#11257E#11257E

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

Color values

HEX#11257E
RGBrgb(17, 37, 126)
HSLhsl(229, 76%, 28%)
HSVhsv(229, 87%, 49%)
CMYKcmyk(86.5%, 70.6%, 0%, 50.6%)
CIE-LABlab(19.83, 28.50, -52.02)
CIE-LCHlch(19.83, 59.31, 298.72°)
OKLaboklab(32.02% -0.0087 -0.1507)
OKLCHoklch(32.02% 0.151 266.7)
XYZxyz(4.6573, 2.9481, 20.0582)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11257E #7E6A11
analogous
#115B7E #11257E #33117E
triadic
#11257E #7E1125 #257E11
tetradic
#11257E #7E115B #7E6A11 #117E33
square
#11257E #7E115B #7E6A11 #117E33
split-complementary
#11257E #7E3311 #5B7E11
monochromatic
#04081B #0A1548 #11257E #1835B4 #274AE2

Accessibility & contrast

On white

13.21
#11257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#11257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##11257E#FFFFFF#000000##FFFFFF
##11257E1.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)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #11257e;
/* rgb */ color: rgb(17, 37, 126);
/* oklch */ color: oklch(32.0% 0.151 266.7);
Tailwind
colors: {
  custom: {
    50: '#665fa4',
    500: '#11257e',
    950: '#000000',
  },
}
SCSS
$custom: #11257e;
$custom-light: #665fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#11257e",
  "rgb": {
    "r": 17,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 228.991,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32022,
    "c": 0.151,
    "h": 266.7
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#11257E
secondary
#B49D37
accent
#D035F3
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #11257E

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

Preview Lab → · Contrast checker → · Palette generator →

#11257E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva