#18266D#18266D

#18266D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.8% C 0.124 H 269.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#18266D
RGBrgb(24, 38, 109)
HSLhsl(230, 64%, 26%)
HSVhsv(230, 78%, 43%)
CMYKcmyk(78%, 65.1%, 0%, 57.3%)
CIE-LABlab(18.73, 21.70, -42.91)
CIE-LCHlch(18.73, 48.08, 296.83°)
OKLaboklab(30.79% -0.002 -0.124)
OKLCHoklch(30.79% 0.124 269.1)
XYZxyz(3.8292, 2.6841, 14.7813)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18266D #6D5F18
analogous
#18506D #18266D #34186D
triadic
#18266D #6D1826 #266D18
tetradic
#18266D #6D1850 #6D5F18 #186D34
square
#18266D #6D1850 #6D5F18 #186D34
split-complementary
#18266D #6D3418 #506D18
monochromatic
#060919 #0D153B #18266D #23379F #2E49D1

Accessibility & contrast

On white

13.66
#18266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#18266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18266D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18266D#FFFFFF#000000##FFFFFF
##18266D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18266d;
/* rgb */ color: rgb(24, 38, 109);
/* oklch */ color: oklch(30.8% 0.124 269.1);
Tailwind
colors: {
  custom: {
    50: '#636098',
    500: '#18266d',
    950: '#000000',
  },
}
SCSS
$custom: #18266d;
$custom-light: #636098;
$custom-dark: #000000;
JSON
{
  "hex": "#18266d",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 230.118,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.12399,
    "h": 269.1
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#18266D
secondary
#A3923E
accent
#CC41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18266D

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

Preview Lab → · Contrast checker → · Palette generator →

#18266D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva