#18246F#18246F

#18246F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.129 H 269.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#18246F
RGBrgb(24, 36, 111)
HSLhsl(232, 64%, 26%)
HSVhsv(232, 78%, 44%)
CMYKcmyk(78.4%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.38, 23.91, -44.78)
CIE-LCHlch(18.38, 50.77, 298.10°)
OKLaboklab(30.59% -0.0006 -0.1295)
OKLCHoklch(30.59% 0.129 269.7)
XYZxyz(3.8758, 2.6032, 15.3341)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18246F #6F6318
analogous
#18506F #18246F #38186F
triadic
#18246F #6F1824 #246F18
tetradic
#18246F #6F1850 #6F6318 #186F38
square
#18246F #6F1850 #6F6318 #186F38
split-complementary
#18246F #6F3818 #506F18
monochromatic
#050819 #0D143D #18246F #2334A1 #2F46D2

Accessibility & contrast

On white

13.81
#18246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#18246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18246F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18246F#FFFFFF#000000##FFFFFF
##18246F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18246f;
/* rgb */ color: rgb(24, 36, 111);
/* oklch */ color: oklch(30.6% 0.129 269.7);
Tailwind
colors: {
  custom: {
    50: '#645e99',
    500: '#18246f',
    950: '#000000',
  },
}
SCSS
$custom: #18246f;
$custom-light: #645e99;
$custom-dark: #000000;
JSON
{
  "hex": "#18246f",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 231.724,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30586,
    "c": 0.12948,
    "h": 269.7
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#18246F
secondary
#A5963E
accent
#D040E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18246F

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

Preview Lab → · Contrast checker → · Palette generator →

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