#182068#182068

#182068 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.125 H 271.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#182068
RGBrgb(24, 32, 104)
HSLhsl(234, 63%, 25%)
HSVhsv(234, 77%, 41%)
CMYKcmyk(76.9%, 69.2%, 0%, 59.2%)
CIE-LABlab(16.63, 23.94, -43.08)
CIE-LCHlch(16.63, 49.29, 299.06°)
OKLaboklab(29.1% 0.0026 -0.1245)
OKLCHoklch(29.1% 0.125 271.2)
XYZxyz(3.3910, 2.2263, 13.3450)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182068 #686018
analogous
#184868 #182068 #381868
triadic
#182068 #681820 #206818
tetradic
#182068 #681848 #686018 #186838
square
#182068 #681848 #686018 #186838
split-complementary
#182068 #683818 #486818
monochromatic
#060819 #0D1136 #182068 #232F9A #2F3FCB

Accessibility & contrast

On white

14.53
#182068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#182068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182068
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182068#FFFFFF#000000##FFFFFF
##1820681.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182068;
/* rgb */ color: rgb(24, 32, 104);
/* oklch */ color: oklch(29.1% 0.125 271.2);
Tailwind
colors: {
  custom: {
    50: '#635b94',
    500: '#182068',
    950: '#000000',
  },
}
SCSS
$custom: #182068;
$custom-light: #635b94;
$custom-dark: #000000;
JSON
{
  "hex": "#182068",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 234,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29096,
    "c": 0.12457,
    "h": 271.2
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#182068
secondary
#9E943E
accent
#D542E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182068

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

Preview Lab → · Contrast checker → · Palette generator →

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