#18369F#18369F

#18369F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.173 H 265.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#18369F
RGBrgb(24, 54, 159)
HSLhsl(227, 74%, 36%)
HSVhsv(227, 85%, 62%)
CMYKcmyk(84.9%, 66%, 0%, 37.6%)
CIE-LABlab(27.67, 30.46, -59.60)
CIE-LCHlch(27.67, 66.93, 297.07°)
OKLaboklab(38.82% -0.0127 -0.1727)
OKLCHoklch(38.82% 0.173 265.8)
XYZxyz(7.9517, 5.3348, 33.4048)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18369F #9F8118
analogous
#18799F #18369F #3E189F
triadic
#18369F #9F1836 #369F18
tetradic
#18369F #9F1879 #9F8118 #189F3E
square
#18369F #9F1879 #9F8118 #189F3E
split-complementary
#18369F #9F3E18 #799F18
monochromatic
#081235 #10246A #18369F #2048D4 #4D6FE4

Accessibility & contrast

On white

10.16
#18369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#18369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18369F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18369F#FFFFFF#000000##FFFFFF
##18369F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18369f;
/* rgb */ color: rgb(24, 54, 159);
/* oklch */ color: oklch(38.8% 0.173 265.8);
Tailwind
colors: {
  custom: {
    50: '#706cbc',
    500: '#18369f',
    950: '#000000',
  },
}
SCSS
$custom: #18369f;
$custom-light: #706cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#18369f",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 226.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.17314,
    "h": 265.8
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#18369F
secondary
#C6AB4D
accent
#C737F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #18369F

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

Preview Lab → · Contrast checker → · Palette generator →

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