#182370#182370

#182370 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.132 H 270.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#182370
RGBrgb(24, 35, 112)
HSLhsl(233, 65%, 27%)
HSVhsv(233, 79%, 44%)
CMYKcmyk(78.6%, 68.8%, 0%, 56.1%)
CIE-LABlab(18.21, 25.00, -45.70)
CIE-LCHlch(18.21, 52.09, 298.69°)
OKLaboklab(30.49% 0 -0.1322)
OKLCHoklch(30.49% 0.132 270)
XYZxyz(3.9013, 2.5657, 15.6157)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182370 #706518
analogous
#184F70 #182370 #391870
triadic
#182370 #701823 #237018
tetradic
#182370 #70184F #706518 #187039
square
#182370 #70184F #706518 #187039
split-complementary
#182370 #703918 #4F7018
monochromatic
#050819 #0D133E #182370 #2333A2 #3044D3

Accessibility & contrast

On white

13.88
#182370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182370
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182370#FFFFFF#000000##FFFFFF
##1823701.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182370;
/* rgb */ color: rgb(24, 35, 112);
/* oklch */ color: oklch(30.5% 0.132 270.0);
Tailwind
colors: {
  custom: {
    50: '#645e9a',
    500: '#182370',
    950: '#000000',
  },
}
SCSS
$custom: #182370;
$custom-light: #645e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#182370",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 112
  },
  "hsl": {
    "h": 232.5,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.13218,
    "h": 270
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#182370
secondary
#A5993E
accent
#D340E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182370

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

Preview Lab → · Contrast checker → · Palette generator →

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