#182368#182368

#182368 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.121 H 270.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#182368
RGBrgb(24, 35, 104)
HSLhsl(232, 63%, 25%)
HSVhsv(232, 77%, 41%)
CMYKcmyk(76.9%, 66.3%, 0%, 59.2%)
CIE-LABlab(17.44, 21.83, -41.76)
CIE-LCHlch(17.44, 47.12, 297.59°)
OKLaboklab(29.69% 0.0004 -0.1206)
OKLCHoklch(29.69% 0.121 270.2)
XYZxyz(3.4756, 2.3954, 13.3732)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182368 #685D18
analogous
#184B68 #182368 #351868
triadic
#182368 #681823 #236818
tetradic
#182368 #68184B #685D18 #186835
square
#182368 #68184B #685D18 #186835
split-complementary
#182368 #683518 #4B6818
monochromatic
#060819 #0D1236 #182368 #23349A #2F44CB

Accessibility & contrast

On white

14.20
#182368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#182368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182368
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182368#FFFFFF#000000##FFFFFF
##1823681.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182368;
/* rgb */ color: rgb(24, 35, 104);
/* oklch */ color: oklch(29.7% 0.121 270.2);
Tailwind
colors: {
  custom: {
    50: '#625d94',
    500: '#182368',
    950: '#000000',
  },
}
SCSS
$custom: #182368;
$custom-light: #625d94;
$custom-dark: #000000;
JSON
{
  "hex": "#182368",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 231.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29687,
    "c": 0.12065,
    "h": 270.2
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#182368
secondary
#9E913E
accent
#CF42E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182368

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

Preview Lab → · Contrast checker → · Palette generator →

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