#1738B4#1738B4

#1738B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.198 H 265.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1738B4
RGBrgb(23, 56, 180)
HSLhsl(227, 77%, 40%)
HSVhsv(227, 87%, 71%)
CMYKcmyk(87.2%, 68.9%, 0%, 29.4%)
CIE-LABlab(30.17, 37.06, -68.11)
CIE-LCHlch(30.17, 77.54, 298.56°)
OKLaboklab(41.26% -0.0151 -0.1975)
OKLCHoklch(41.26% 0.198 265.6)
XYZxyz(10.0028, 6.3045, 43.8609)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1738B4 #B49317
analogous
#1786B4 #1738B4 #4517B4
triadic
#1738B4 #B41738 #38B417
tetradic
#1738B4 #B41786 #B49317 #17B445
square
#1738B4 #B41786 #B49317 #17B445
split-complementary
#1738B4 #B44517 #86B417
monochromatic
#091647 #10277E #1738B4 #254DE3 #5B79EA

Accessibility & contrast

On white

9.29
#1738B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1738B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1738B4
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1738B4#FFFFFF#000000##FFFFFF
##1738B41.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1738b4;
/* rgb */ color: rgb(23, 56, 180);
/* oklch */ color: oklch(41.3% 0.198 265.6);
Tailwind
colors: {
  custom: {
    50: '#756ecc',
    500: '#1738b4',
    950: '#000000',
  },
}
SCSS
$custom: #1738b4;
$custom-light: #756ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#1738b4",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 227.389,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.19806,
    "h": 265.6
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#1738B4
secondary
#CEB559
accent
#CC34F4
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1738B4

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

Preview Lab → · Contrast checker → · Palette generator →

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