#183C70#183C70

#183C70 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.0% C 0.099 H 258.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#183C70
RGBrgb(24, 60, 112)
HSLhsl(215, 65%, 27%)
HSVhsv(215, 79%, 44%)
CMYKcmyk(78.6%, 46.4%, 0%, 56.1%)
CIE-LABlab(25.55, 7.20, -33.80)
CIE-LCHlch(25.55, 34.56, 282.03°)
OKLaboklab(36.03% -0.0206 -0.0968)
OKLCHoklch(36.03% 0.099 258)
XYZxyz(4.9161, 4.5952, 15.9540)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C70 #704C18
analogous
#186870 #183C70 #201870
triadic
#183C70 #70183C #3C7018
tetradic
#183C70 #701868 #704C18 #187020
square
#183C70 #701868 #704C18 #187020
split-complementary
#183C70 #702018 #687018
monochromatic
#050D19 #0D213E #183C70 #2357A2 #3072D3

Accessibility & contrast

On white

10.94
#183C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C70
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C70#FFFFFF#000000##FFFFFF
##183C701.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#10396F
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183c70;
/* rgb */ color: rgb(24, 60, 112);
/* oklch */ color: oklch(36.0% 0.099 258.0);
Tailwind
colors: {
  custom: {
    50: '#637199',
    500: '#183c70',
    950: '#000000',
  },
}
SCSS
$custom: #183c70;
$custom-light: #637199;
$custom-dark: #000000;
JSON
{
  "hex": "#183c70",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 112
  },
  "hsl": {
    "h": 215.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.09898,
    "h": 258
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#183C70
secondary
#A57B3E
accent
#A340E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183C70

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

Preview Lab → · Contrast checker → · Palette generator →

#183C70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva