#183261#183261

#183261 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.089 H 261.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#183261
RGBrgb(24, 50, 97)
HSLhsl(219, 60%, 24%)
HSVhsv(219, 75%, 38%)
CMYKcmyk(75.3%, 48.5%, 0%, 62%)
CIE-LABlab(21.35, 8.07, -30.84)
CIE-LCHlch(21.35, 31.88, 284.66°)
OKLaboklab(32.46% -0.0137 -0.0883)
OKLCHoklch(32.46% 0.089 261.2)
XYZxyz(3.6742, 3.3381, 11.7576)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183261 #614718
analogous
#185661 #183261 #221861
triadic
#183261 #611832 #326118
tetradic
#183261 #611856 #614718 #186122
square
#183261 #611856 #614718 #186122
split-complementary
#183261 #612218 #566118
monochromatic
#060D19 #0C1930 #183261 #244B92 #3065C3

Accessibility & contrast

On white

12.59
#183261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#183261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183261
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183261#FFFFFF#000000##FFFFFF
##1832611.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#0C3060
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183261;
/* rgb */ color: rgb(24, 50, 97);
/* oklch */ color: oklch(32.5% 0.089 261.2);
Tailwind
colors: {
  custom: {
    50: '#5f698e',
    500: '#183261',
    950: '#000000',
  },
}
SCSS
$custom: #183261;
$custom-light: #5f698e;
$custom-dark: #000000;
JSON
{
  "hex": "#183261",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 218.63,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32458,
    "c": 0.08936,
    "h": 261.2
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#183261
secondary
#97773D
accent
#AB44E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #183261

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

Preview Lab → · Contrast checker → · Palette generator →

#183261 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva