#132257#132257

#132257 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.098 H 267.5°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#132257
RGBrgb(19, 34, 87)
HSLhsl(227, 64%, 21%)
HSVhsv(227, 78%, 34%)
CMYKcmyk(78.2%, 60.9%, 0%, 65.9%)
CIE-LABlab(15.33, 14.84, -33.93)
CIE-LCHlch(15.33, 37.04, 293.61°)
OKLaboklab(27.56% -0.0042 -0.0978)
OKLCHoklch(27.56% 0.098 267.5)
XYZxyz(2.5603, 1.9704, 9.2604)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132257 #574813
analogous
#134457 #132257 #261357
triadic
#132257 #571322 #225713
tetradic
#132257 #571344 #574813 #135726
square
#132257 #571344 #574813 #135726
split-complementary
#132257 #572613 #445713
monochromatic
#050A19 #080E25 #132257 #1E3689 #2949BB

Accessibility & contrast

On white

15.06
#132257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#132257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132257
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132257#FFFFFF#000000##FFFFFF
##1322571.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #132257;
/* rgb */ color: rgb(19, 34, 87);
/* oklch */ color: oklch(27.6% 0.098 267.5);
Tailwind
colors: {
  custom: {
    50: '#5c5c87',
    500: '#132257',
    950: '#000000',
  },
}
SCSS
$custom: #132257;
$custom-light: #5c5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#132257",
  "rgb": {
    "r": 19,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 226.765,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27564,
    "c": 0.09789,
    "h": 267.5
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#132257
secondary
#8F7C36
accent
#C241E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #132257

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

Preview Lab → · Contrast checker → · Palette generator →

#132257 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva