#18265D#18265D

#18265D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.100 H 268.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#18265D
RGBrgb(24, 38, 93)
HSLhsl(228, 59%, 23%)
HSVhsv(228, 74%, 36%)
CMYKcmyk(74.2%, 59.1%, 0%, 63.5%)
CIE-LABlab(17.32, 15.17, -34.70)
CIE-LCHlch(17.32, 37.87, 293.61°)
OKLaboklab(29.3% -0.0023 -0.0999)
OKLCHoklch(29.3% 0.1 268.7)
XYZxyz(3.0449, 2.3704, 10.6509)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18265D #5D4F18
analogous
#18485D #18265D #2C185D
triadic
#18265D #5D1826 #265D18
tetradic
#18265D #5D1848 #5D4F18 #185D2C
square
#18265D #5D1848 #5D4F18 #185D2C
split-complementary
#18265D #5D2C18 #485D18
monochromatic
#060A18 #0B122C #18265D #253A8E #314EBE

Accessibility & contrast

On white

14.25
#18265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18265D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18265D#FFFFFF#000000##FFFFFF
##18265D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18265d;
/* rgb */ color: rgb(24, 38, 93);
/* oklch */ color: oklch(29.3% 0.100 268.7);
Tailwind
colors: {
  custom: {
    50: '#5f5f8b',
    500: '#18265d',
    950: '#000000',
  },
}
SCSS
$custom: #18265d;
$custom-light: #5f5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18265d",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 227.826,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29296,
    "c": 0.0999,
    "h": 268.7
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18265D

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

Preview Lab → · Contrast checker → · Palette generator →

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