#18265E#18265E

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

Color values

HEX#18265E
RGBrgb(24, 38, 94)
HSLhsl(228, 59%, 23%)
HSVhsv(228, 74%, 37%)
CMYKcmyk(74.5%, 59.6%, 0%, 63.1%)
CIE-LABlab(17.41, 15.58, -35.23)
CIE-LCHlch(17.41, 38.52, 293.86°)
OKLaboklab(29.38% -0.0022 -0.1014)
OKLCHoklch(29.38% 0.101 268.7)
XYZxyz(3.0895, 2.3883, 10.8857)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18265E #5E5018
analogous
#18495E #18265E #2D185E
triadic
#18265E #5E1826 #265E18
tetradic
#18265E #5E1849 #5E5018 #185E2D
square
#18265E #5E1849 #5E5018 #185E2D
split-complementary
#18265E #5E2D18 #495E18
monochromatic
#060A18 #0C122D #18265E #243A8F #314DC0

Accessibility & contrast

On white

14.21
#18265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#18265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18265E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18265E#FFFFFF#000000##FFFFFF
##18265E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18265e;
/* rgb */ color: rgb(24, 38, 94);
/* oklch */ color: oklch(29.4% 0.101 268.7);
Tailwind
colors: {
  custom: {
    50: '#5f5f8c',
    500: '#18265e',
    950: '#000000',
  },
}
SCSS
$custom: #18265e;
$custom-light: #5f5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18265e",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 228,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29384,
    "c": 0.10144,
    "h": 268.7
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#18265E
secondary
#94833D
accent
#C345E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18265E

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

Preview Lab → · Contrast checker → · Palette generator →

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