#1142B4#1142B4

#1142B4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.188 H 263.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1142B4
RGBrgb(17, 66, 180)
HSLhsl(222, 83%, 39%)
HSVhsv(222, 91%, 71%)
CMYKcmyk(90.6%, 63.3%, 0%, 29.4%)
CIE-LABlab(32.50, 30.20, -64.28)
CIE-LCHlch(32.50, 71.02, 295.17°)
OKLaboklab(42.94% -0.0223 -0.1863)
OKLCHoklch(42.94% 0.188 263.2)
XYZxyz(10.4146, 7.3095, 44.0331)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1142B4 #B48311
analogous
#1193B4 #1142B4 #3111B4
triadic
#1142B4 #B41142 #42B411
tetradic
#1142B4 #B41193 #B48311 #11B431
square
#1142B4 #B41193 #B48311 #11B431
split-complementary
#1142B4 #B43111 #93B411
monochromatic
#061944 #0C2D7C #1142B4 #1958E9 #5180EF

Accessibility & contrast

On white

8.53
#1142B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1142B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1142B4
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1142B4#FFFFFF#000000##FFFFFF
##1142B41.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1142b4;
/* rgb */ color: rgb(17, 66, 180);
/* oklch */ color: oklch(42.9% 0.188 263.2);
Tailwind
colors: {
  custom: {
    50: '#7375cb',
    500: '#1142b4',
    950: '#000000',
  },
}
SCSS
$custom: #1142b4;
$custom-light: #7375cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1142b4",
  "rgb": {
    "r": 17,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 221.963,
    "s": 82.741,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42935,
    "c": 0.18762,
    "h": 263.2
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#1142B4
secondary
#D0AA50
accent
#BC2FF9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1142B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1142B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva