#18359F#18359F

#18359F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.174 H 266.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#18359F
RGBrgb(24, 53, 159)
HSLhsl(227, 74%, 36%)
HSVhsv(227, 85%, 62%)
CMYKcmyk(84.9%, 66.7%, 0%, 37.6%)
CIE-LABlab(27.41, 31.12, -60.02)
CIE-LCHlch(27.41, 67.61, 297.41°)
OKLaboklab(38.64% -0.0123 -0.1739)
OKLCHoklch(38.64% 0.174 266)
XYZxyz(7.9056, 5.2426, 33.3894)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18359F #9F8218
analogous
#18789F #18359F #3E189F
triadic
#18359F #9F1835 #359F18
tetradic
#18359F #9F1878 #9F8218 #189F3E
square
#18359F #9F1878 #9F8218 #189F3E
split-complementary
#18359F #9F3E18 #789F18
monochromatic
#081235 #10236A #18359F #2047D4 #4D6EE4

Accessibility & contrast

On white

10.25
#18359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#18359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18359F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18359F#FFFFFF#000000##FFFFFF
##18359F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #18359f;
/* rgb */ color: rgb(24, 53, 159);
/* oklch */ color: oklch(38.6% 0.174 266.0);
Tailwind
colors: {
  custom: {
    50: '#706cbc',
    500: '#18359f',
    950: '#000000',
  },
}
SCSS
$custom: #18359f;
$custom-light: #706cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#18359f",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 227.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.17432,
    "h": 266
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#18359F
secondary
#C6AC4D
accent
#C937F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #18359F

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

Preview Lab → · Contrast checker → · Palette generator →

#18359F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva