#18246A#18246A

#18246A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.122 H 269.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#18246A
RGBrgb(24, 36, 106)
HSLhsl(231, 63%, 25%)
HSVhsv(231, 77%, 42%)
CMYKcmyk(77.4%, 66%, 0%, 58.4%)
CIE-LABlab(17.90, 21.92, -42.31)
CIE-LCHlch(17.90, 47.65, 297.38°)
OKLaboklab(30.09% -0.0004 -0.1223)
OKLCHoklch(30.09% 0.122 269.8)
XYZxyz(3.6082, 2.4962, 13.9245)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18246A #6A5E18
analogous
#184D6A #18246A #35186A
triadic
#18246A #6A1824 #246A18
tetradic
#18246A #6A184D #6A5E18 #186A35
square
#18246A #6A184D #6A5E18 #186A35
split-complementary
#18246A #6A3518 #4D6A18
monochromatic
#060819 #0D1338 #18246A #23359C #2F46CE

Accessibility & contrast

On white

14.01
#18246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#18246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18246A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18246A#FFFFFF#000000##FFFFFF
##18246A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #18246a;
/* rgb */ color: rgb(24, 36, 106);
/* oklch */ color: oklch(30.1% 0.122 269.8);
Tailwind
colors: {
  custom: {
    50: '#635e95',
    500: '#18246a',
    950: '#000000',
  },
}
SCSS
$custom: #18246a;
$custom-light: #635e95;
$custom-dark: #000000;
JSON
{
  "hex": "#18246a",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 231.22,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30087,
    "c": 0.12226,
    "h": 269.8
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#18246A
secondary
#A0923E
accent
#CE42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #18246A

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

Preview Lab → · Contrast checker → · Palette generator →

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