#183362#183362

#183362 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.090 H 260.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#183362
RGBrgb(24, 51, 98)
HSLhsl(218, 61%, 24%)
HSVhsv(218, 76%, 38%)
CMYKcmyk(75.5%, 48%, 0%, 61.6%)
CIE-LABlab(21.74, 7.77, -30.87)
CIE-LCHlch(21.74, 31.84, 284.12°)
OKLaboklab(32.78% -0.0146 -0.0884)
OKLCHoklch(32.78% 0.09 260.6)
XYZxyz(3.7643, 3.4433, 12.0191)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183362 #624718
analogous
#185862 #183362 #221862
triadic
#183362 #621833 #336218
tetradic
#183362 #621858 #624718 #186222
square
#183362 #621858 #624718 #186222
split-complementary
#183362 #622218 #586218
monochromatic
#060D19 #0C1931 #183362 #244D93 #3066C4

Accessibility & contrast

On white

12.43
#183362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#183362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183362
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183362#FFFFFF#000000##FFFFFF
##1833621.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3864
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #183362;
/* rgb */ color: rgb(24, 51, 98);
/* oklch */ color: oklch(32.8% 0.090 260.6);
Tailwind
colors: {
  custom: {
    50: '#606a8f',
    500: '#183362',
    950: '#000000',
  },
}
SCSS
$custom: #183362;
$custom-light: #606a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#183362",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 218.108,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32779,
    "c": 0.08957,
    "h": 260.6
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#183362
secondary
#98773E
accent
#A944E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #183362

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

Preview Lab → · Contrast checker → · Palette generator →

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