#18265A#18265A

#18265A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.095 H 268.5°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#18265A
RGBrgb(24, 38, 90)
HSLhsl(227, 58%, 22%)
HSVhsv(227, 73%, 35%)
CMYKcmyk(73.3%, 57.8%, 0%, 64.7%)
CIE-LABlab(17.08, 13.93, -33.10)
CIE-LCHlch(17.08, 35.91, 292.82°)
OKLaboklab(29.03% -0.0025 -0.0952)
OKLCHoklch(29.03% 0.095 268.5)
XYZxyz(2.9146, 2.3183, 9.9648)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18265A #5A4C18
analogous
#18475A #18265A #2B185A
triadic
#18265A #5A1826 #265A18
tetradic
#18265A #5A1847 #5A4C18 #185A2B
square
#18265A #5A1847 #5A4C18 #185A2B
split-complementary
#18265A #5A2B18 #475A18
monochromatic
#060A18 #0B122A #18265A #253A8A #324FBB

Accessibility & contrast

On white

14.35
#18265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#18265A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18265A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18265A#FFFFFF#000000##FFFFFF
##18265A1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18265a;
/* rgb */ color: rgb(24, 38, 90);
/* oklch */ color: oklch(29.0% 0.095 268.5);
Tailwind
colors: {
  custom: {
    50: '#5e5f89',
    500: '#18265a',
    950: '#000000',
  },
}
SCSS
$custom: #18265a;
$custom-light: #5e5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#18265a",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 227.273,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29032,
    "c": 0.0952,
    "h": 268.5
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#18265A
secondary
#917F3D
accent
#C047E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #18265A

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

Preview Lab → · Contrast checker → · Palette generator →

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