#18266B#18266B

#18266B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.121 H 269.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#18266B
RGBrgb(24, 38, 107)
HSLhsl(230, 63%, 26%)
HSVhsv(230, 78%, 42%)
CMYKcmyk(77.6%, 64.5%, 0%, 58%)
CIE-LABlab(18.55, 20.89, -41.91)
CIE-LCHlch(18.55, 46.83, 296.50°)
OKLaboklab(30.59% -0.002 -0.121)
OKLCHoklch(30.59% 0.121 269.1)
XYZxyz(3.7227, 2.6416, 14.2207)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18266B #6B5D18
analogous
#184F6B #18266B #34186B
triadic
#18266B #6B1826 #266B18
tetradic
#18266B #6B184F #6B5D18 #186B34
square
#18266B #6B184F #6B5D18 #186B34
split-complementary
#18266B #6B3418 #4F6B18
monochromatic
#060919 #0D1439 #18266B #23389D #2E4ACF

Accessibility & contrast

On white

13.74
#18266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#18266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18266B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18266B#FFFFFF#000000##FFFFFF
##18266B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18266b;
/* rgb */ color: rgb(24, 38, 107);
/* oklch */ color: oklch(30.6% 0.121 269.1);
Tailwind
colors: {
  custom: {
    50: '#636096',
    500: '#18266b',
    950: '#000000',
  },
}
SCSS
$custom: #18266b;
$custom-light: #636096;
$custom-dark: #000000;
JSON
{
  "hex": "#18266b",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 229.88,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30593,
    "c": 0.12107,
    "h": 269.1
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#18266B
secondary
#A1903E
accent
#CB41E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #18266B

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

Preview Lab → · Contrast checker → · Palette generator →

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