#183A6A#183A6A

#183A6A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.1% C 0.093 H 257.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#183A6A
RGBrgb(24, 58, 106)
HSLhsl(215, 63%, 25%)
HSVhsv(215, 77%, 42%)
CMYKcmyk(77.4%, 45.3%, 0%, 58.4%)
CIE-LABlab(24.51, 6.12, -31.62)
CIE-LCHlch(24.51, 32.20, 280.96°)
OKLaboklab(35.1% -0.02 -0.0904)
OKLCHoklch(35.1% 0.093 257.6)
XYZxyz(4.4903, 4.2604, 14.2186)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A6A #6A4818
analogous
#18636A #183A6A #1F186A
triadic
#183A6A #6A183A #3A6A18
tetradic
#183A6A #6A1863 #6A4818 #186A1F
square
#183A6A #6A1863 #6A4818 #186A1F
split-complementary
#183A6A #6A1F18 #636A18
monochromatic
#060E19 #0D1F38 #183A6A #23559C #2F71CE

Accessibility & contrast

On white

11.34
#183A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#183A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A6A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A6A#FFFFFF#000000##FFFFFF
##183A6A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233E6C
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183a6a;
/* rgb */ color: rgb(24, 58, 106);
/* oklch */ color: oklch(35.1% 0.093 257.6);
Tailwind
colors: {
  custom: {
    50: '#616f95',
    500: '#183a6a',
    950: '#000000',
  },
}
SCSS
$custom: #183a6a;
$custom-light: #616f95;
$custom-dark: #000000;
JSON
{
  "hex": "#183a6a",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 215.122,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.0926,
    "h": 257.6
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#183A6A
secondary
#A0773E
accent
#A242E6
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #183A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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