#18265B#18265B

#18265B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.097 H 268.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#18265B
RGBrgb(24, 38, 91)
HSLhsl(227, 58%, 23%)
HSVhsv(227, 74%, 36%)
CMYKcmyk(73.6%, 58.2%, 0%, 64.3%)
CIE-LABlab(17.16, 14.34, -33.64)
CIE-LCHlch(17.16, 36.57, 293.10°)
OKLaboklab(29.12% -0.0024 -0.0967)
OKLCHoklch(29.12% 0.097 268.6)
XYZxyz(2.9575, 2.3355, 10.1904)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18265B #5B4D18
analogous
#18475B #18265B #2C185B
triadic
#18265B #5B1826 #265B18
tetradic
#18265B #5B1847 #5B4D18 #185B2C
square
#18265B #5B1847 #5B4D18 #185B2C
split-complementary
#18265B #5B2C18 #475B18
monochromatic
#060A18 #0B122B #18265B #253A8B #324EBC

Accessibility & contrast

On white

14.31
#18265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18265B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18265B#FFFFFF#000000##FFFFFF
##18265B1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18265b;
/* rgb */ color: rgb(24, 38, 91);
/* oklch */ color: oklch(29.1% 0.097 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f5f8a',
    500: '#18265b',
    950: '#000000',
  },
}
SCSS
$custom: #18265b;
$custom-light: #5f5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#18265b",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 227.463,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29119,
    "c": 0.09677,
    "h": 268.6
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#18265B
secondary
#92803D
accent
#C146E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18265B

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

Preview Lab → · Contrast checker → · Palette generator →

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