#18358F#18358F

#18358F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.153 H 265.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#18358F
RGBrgb(24, 53, 143)
HSLhsl(225, 71%, 33%)
HSVhsv(225, 83%, 56%)
CMYKcmyk(83.2%, 62.9%, 0%, 43.9%)
CIE-LABlab(25.93, 24.84, -52.65)
CIE-LCHlch(25.93, 58.21, 295.26°)
OKLaboklab(37.08% -0.012 -0.1523)
OKLCHoklch(37.08% 0.153 265.5)
XYZxyz(6.6060, 4.7228, 26.5447)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18358F #8F7218
analogous
#18708F #18358F #36188F
triadic
#18358F #8F1835 #358F18
tetradic
#18358F #8F1870 #8F7218 #188F36
square
#18358F #8F1870 #8F7218 #188F36
split-complementary
#18358F #8F3618 #708F18
monochromatic
#060E26 #0F225B #18358F #2148C3 #4268DF

Accessibility & contrast

On white

10.80
#18358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#18358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18358F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18358F#FFFFFF#000000##FFFFFF
##18358F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18358f;
/* rgb */ color: rgb(24, 53, 143);
/* oklch */ color: oklch(37.1% 0.153 265.5);
Tailwind
colors: {
  custom: {
    50: '#6b6bb1',
    500: '#18358f',
    950: '#000000',
  },
}
SCSS
$custom: #18358f;
$custom-light: #6b6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#18358f",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 225.378,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.1528,
    "h": 265.5
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#18358F
secondary
#C0A243
accent
#C23AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #18358F

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

Preview Lab → · Contrast checker → · Palette generator →

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