#18266E#18266E

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

Color values

HEX#18266E
RGBrgb(24, 38, 110)
HSLhsl(230, 64%, 26%)
HSVhsv(230, 78%, 43%)
CMYKcmyk(78.2%, 65.5%, 0%, 56.9%)
CIE-LABlab(18.82, 22.10, -43.40)
CIE-LCHlch(18.82, 48.71, 296.99°)
OKLaboklab(30.88% -0.002 -0.1254)
OKLCHoklch(30.88% 0.125 269.1)
XYZxyz(3.8833, 2.7058, 15.0664)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18266E #6E6018
analogous
#18516E #18266E #35186E
triadic
#18266E #6E1826 #266E18
tetradic
#18266E #6E1851 #6E6018 #186E35
square
#18266E #6E1851 #6E6018 #186E35
split-complementary
#18266E #6E3518 #516E18
monochromatic
#050919 #0D153C #18266E #2337A0 #2F49D2

Accessibility & contrast

On white

13.63
#18266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18266E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18266E#FFFFFF#000000##FFFFFF
##18266E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18266e;
/* rgb */ color: rgb(24, 38, 110);
/* oklch */ color: oklch(30.9% 0.125 269.1);
Tailwind
colors: {
  custom: {
    50: '#646098',
    500: '#18266e',
    950: '#000000',
  },
}
SCSS
$custom: #18266e;
$custom-light: #646098;
$custom-dark: #000000;
JSON
{
  "hex": "#18266e",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 230.233,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30884,
    "c": 0.12545,
    "h": 269.1
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18266E

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

Preview Lab → · Contrast checker → · Palette generator →

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