#18265C#18265C

#18265C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.098 H 268.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#18265C
RGBrgb(24, 38, 92)
HSLhsl(228, 59%, 23%)
HSVhsv(228, 74%, 36%)
CMYKcmyk(73.9%, 58.7%, 0%, 63.9%)
CIE-LABlab(17.24, 14.76, -34.17)
CIE-LCHlch(17.24, 37.22, 293.36°)
OKLaboklab(29.21% -0.0023 -0.0983)
OKLCHoklch(29.21% 0.098 268.6)
XYZxyz(3.0009, 2.3528, 10.4191)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18265C #5C4E18
analogous
#18485C #18265C #2C185C
triadic
#18265C #5C1826 #265C18
tetradic
#18265C #5C1848 #5C4E18 #185C2C
square
#18265C #5C1848 #5C4E18 #185C2C
split-complementary
#18265C #5C2C18 #485C18
monochromatic
#060A18 #0B122B #18265C #253A8D #314EBD

Accessibility & contrast

On white

14.28
#18265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#18265C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18265C
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18265C#FFFFFF#000000##FFFFFF
##18265C1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18265c;
/* rgb */ color: rgb(24, 38, 92);
/* oklch */ color: oklch(29.2% 0.098 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f5f8b',
    500: '#18265c',
    950: '#000000',
  },
}
SCSS
$custom: #18265c;
$custom-light: #5f5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18265c",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 227.647,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29207,
    "c": 0.09834,
    "h": 268.6
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#18265C
secondary
#93813D
accent
#C246E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18265C

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

Preview Lab → · Contrast checker → · Palette generator →

#18265C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva