#183262#183262

#183262 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.091 H 261.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#183262
RGBrgb(24, 50, 98)
HSLhsl(219, 61%, 24%)
HSVhsv(219, 76%, 38%)
CMYKcmyk(75.5%, 49%, 0%, 61.6%)
CIE-LABlab(21.42, 8.49, -31.39)
CIE-LCHlch(21.42, 32.51, 285.13°)
OKLaboklab(32.53% -0.0135 -0.0899)
OKLCHoklch(32.53% 0.091 261.4)
XYZxyz(3.7211, 3.3568, 12.0047)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183262 #624818
analogous
#185762 #183262 #231862
triadic
#183262 #621832 #326218
tetradic
#183262 #621857 #624818 #186223
square
#183262 #621857 #624818 #186223
split-complementary
#183262 #622318 #576218
monochromatic
#060D19 #0C1931 #183262 #244B93 #3064C4

Accessibility & contrast

On white

12.56
#183262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183262
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183262#FFFFFF#000000##FFFFFF
##1832621.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#0A3061
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183262;
/* rgb */ color: rgb(24, 50, 98);
/* oklch */ color: oklch(32.5% 0.091 261.4);
Tailwind
colors: {
  custom: {
    50: '#60698f',
    500: '#183262',
    950: '#000000',
  },
}
SCSS
$custom: #183262;
$custom-light: #60698f;
$custom-dark: #000000;
JSON
{
  "hex": "#183262",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 218.919,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32534,
    "c": 0.09091,
    "h": 261.4
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#183262
secondary
#98783E
accent
#AC44E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #183262

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

Preview Lab → · Contrast checker → · Palette generator →

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