#183870#183870

#183870 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.104 H 260.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#183870
RGBrgb(24, 56, 112)
HSLhsl(218, 65%, 27%)
HSVhsv(218, 79%, 44%)
CMYKcmyk(78.6%, 50%, 0%, 56.1%)
CIE-LABlab(24.30, 10.02, -35.81)
CIE-LCHlch(24.30, 37.19, 285.63°)
OKLaboklab(35.06% -0.0168 -0.1028)
OKLCHoklch(35.06% 0.104 260.7)
XYZxyz(4.7144, 4.1919, 15.8867)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183870 #705018
analogous
#186470 #183870 #241870
triadic
#183870 #701838 #387018
tetradic
#183870 #701864 #705018 #187024
square
#183870 #701864 #705018 #187024
split-complementary
#183870 #702418 #647018
monochromatic
#050D19 #0D1F3E #183870 #2351A2 #306BD3

Accessibility & contrast

On white

11.42
#183870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#183870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183870
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183870#FFFFFF#000000##FFFFFF
##1838701.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#01366F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183870;
/* rgb */ color: rgb(24, 56, 112);
/* oklch */ color: oklch(35.1% 0.104 260.7);
Tailwind
colors: {
  custom: {
    50: '#636e99',
    500: '#183870',
    950: '#000000',
  },
}
SCSS
$custom: #183870;
$custom-light: #636e99;
$custom-dark: #000000;
JSON
{
  "hex": "#183870",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 218.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.10418,
    "h": 260.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#183870
secondary
#A5803E
accent
#AB40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183870

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

Preview Lab → · Contrast checker → · Palette generator →

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