#18246B#18246B

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

Color values

HEX#18246B
RGBrgb(24, 36, 107)
HSLhsl(231, 63%, 26%)
HSVhsv(231, 78%, 42%)
CMYKcmyk(77.6%, 66.4%, 0%, 58%)
CIE-LABlab(18.00, 22.32, -42.81)
CIE-LCHlch(18.00, 48.28, 297.53°)
OKLaboklab(30.19% -0.0005 -0.1237)
OKLCHoklch(30.19% 0.124 269.8)
XYZxyz(3.6605, 2.5171, 14.2000)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18246B #6B5F18
analogous
#184D6B #18246B #35186B
triadic
#18246B #6B1824 #246B18
tetradic
#18246B #6B184D #6B5F18 #186B35
square
#18246B #6B184D #6B5F18 #186B35
split-complementary
#18246B #6B3518 #4D6B18
monochromatic
#060819 #0D1339 #18246B #23359D #2E46CF

Accessibility & contrast

On white

13.97
#18246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18246B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18246B#FFFFFF#000000##FFFFFF
##18246B1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #18246b;
/* rgb */ color: rgb(24, 36, 107);
/* oklch */ color: oklch(30.2% 0.124 269.8);
Tailwind
colors: {
  custom: {
    50: '#635e96',
    500: '#18246b',
    950: '#000000',
  },
}
SCSS
$custom: #18246b;
$custom-light: #635e96;
$custom-dark: #000000;
JSON
{
  "hex": "#18246b",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 231.325,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30186,
    "c": 0.12371,
    "h": 269.8
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#18246B
secondary
#A1933E
accent
#CF41E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #18246B

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

Preview Lab → · Contrast checker → · Palette generator →

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