#18246E#18246E

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

Color values

HEX#18246E
RGBrgb(24, 36, 110)
HSLhsl(232, 64%, 26%)
HSVhsv(232, 78%, 43%)
CMYKcmyk(78.2%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.28, 23.52, -44.29)
CIE-LCHlch(18.28, 50.15, 297.97°)
OKLaboklab(30.49% -0.0006 -0.128)
OKLCHoklch(30.49% 0.128 269.7)
XYZxyz(3.8211, 2.5813, 15.0457)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18246E #6E6218
analogous
#184F6E #18246E #37186E
triadic
#18246E #6E1824 #246E18
tetradic
#18246E #6E184F #6E6218 #186E37
square
#18246E #6E184F #6E6218 #186E37
split-complementary
#18246E #6E3718 #4F6E18
monochromatic
#050819 #0D143C #18246E #2334A0 #2F46D2

Accessibility & contrast

On white

13.85
#18246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18246E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18246E#FFFFFF#000000##FFFFFF
##18246E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18246e;
/* rgb */ color: rgb(24, 36, 110);
/* oklch */ color: oklch(30.5% 0.128 269.7);
Tailwind
colors: {
  custom: {
    50: '#645e98',
    500: '#18246e',
    950: '#000000',
  },
}
SCSS
$custom: #18246e;
$custom-light: #645e98;
$custom-dark: #000000;
JSON
{
  "hex": "#18246e",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 231.628,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.12805,
    "h": 269.7
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#18246E
secondary
#A4953E
accent
#D041E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18246E

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

Preview Lab → · Contrast checker → · Palette generator →

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