#18266A#18266A

#18266A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.5% C 0.120 H 269.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#18266A
RGBrgb(24, 38, 106)
HSLhsl(230, 63%, 25%)
HSVhsv(230, 77%, 42%)
CMYKcmyk(77.4%, 64.2%, 0%, 58.4%)
CIE-LABlab(18.46, 20.49, -41.41)
CIE-LCHlch(18.46, 46.20, 296.33°)
OKLaboklab(30.5% -0.0019 -0.1196)
OKLCHoklch(30.5% 0.12 269.1)
XYZxyz(3.6704, 2.6206, 13.9453)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18266A #6A5C18
analogous
#184F6A #18266A #33186A
triadic
#18266A #6A1826 #266A18
tetradic
#18266A #6A184F #6A5C18 #186A33
square
#18266A #6A184F #6A5C18 #186A33
split-complementary
#18266A #6A3318 #4F6A18
monochromatic
#060919 #0D1438 #18266A #23389C #2F4ACE

Accessibility & contrast

On white

13.78
#18266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#18266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18266A
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18266A#FFFFFF#000000##FFFFFF
##18266A1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18266a;
/* rgb */ color: rgb(24, 38, 106);
/* oklch */ color: oklch(30.5% 0.120 269.1);
Tailwind
colors: {
  custom: {
    50: '#626095',
    500: '#18266a',
    950: '#000000',
  },
}
SCSS
$custom: #18266a;
$custom-light: #626095;
$custom-dark: #000000;
JSON
{
  "hex": "#18266a",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 229.756,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.1196,
    "h": 269.1
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#18266A
secondary
#A08F3E
accent
#CA42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #18266A

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

Preview Lab → · Contrast checker → · Palette generator →

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