#18266F#18266F

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

Color values

HEX#18266F
RGBrgb(24, 38, 111)
HSLhsl(230, 64%, 26%)
HSVhsv(230, 78%, 44%)
CMYKcmyk(78.4%, 65.8%, 0%, 56.5%)
CIE-LABlab(18.92, 22.50, -43.90)
CIE-LCHlch(18.92, 49.33, 297.14°)
OKLaboklab(30.98% -0.002 -0.1269)
OKLCHoklch(30.98% 0.127 269.1)
XYZxyz(3.9381, 2.7277, 15.3548)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18266F #6F6118
analogous
#18526F #18266F #36186F
triadic
#18266F #6F1826 #266F18
tetradic
#18266F #6F1852 #6F6118 #186F36
square
#18266F #6F1852 #6F6118 #186F36
split-complementary
#18266F #6F3618 #526F18
monochromatic
#050919 #0D153D #18266F #2337A1 #2F4AD2

Accessibility & contrast

On white

13.59
#18266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#18266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18266F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18266F#FFFFFF#000000##FFFFFF
##18266F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18266f;
/* rgb */ color: rgb(24, 38, 111);
/* oklch */ color: oklch(31.0% 0.127 269.1);
Tailwind
colors: {
  custom: {
    50: '#646099',
    500: '#18266f',
    950: '#000000',
  },
}
SCSS
$custom: #18266f;
$custom-light: #646099;
$custom-dark: #000000;
JSON
{
  "hex": "#18266f",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 230.345,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.1269,
    "h": 269.1
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#18266F
secondary
#A5943E
accent
#CD40E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #18266F

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

Preview Lab → · Contrast checker → · Palette generator →

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