#182768#182768

#182768 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.5% C 0.115 H 268.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#182768
RGBrgb(24, 39, 104)
HSLhsl(229, 63%, 25%)
HSVhsv(229, 77%, 41%)
CMYKcmyk(76.9%, 62.5%, 0%, 59.2%)
CIE-LABlab(18.56, 18.95, -39.93)
CIE-LCHlch(18.56, 44.20, 295.39°)
OKLaboklab(30.52% -0.0027 -0.1152)
OKLCHoklch(30.52% 0.115 268.6)
XYZxyz(3.6000, 2.6443, 13.4147)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182768 #685918
analogous
#184F68 #182768 #311868
triadic
#182768 #681827 #276818
tetradic
#182768 #68184F #685918 #186831
square
#182768 #68184F #685918 #186831
split-complementary
#182768 #683118 #4F6818
monochromatic
#060919 #0D1436 #182768 #233A9A #2F4CCB

Accessibility & contrast

On white

13.73
#182768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182768
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182768#FFFFFF#000000##FFFFFF
##1827681.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182768;
/* rgb */ color: rgb(24, 39, 104);
/* oklch */ color: oklch(30.5% 0.115 268.6);
Tailwind
colors: {
  custom: {
    50: '#626094',
    500: '#182768',
    950: '#000000',
  },
}
SCSS
$custom: #182768;
$custom-light: #626094;
$custom-dark: #000000;
JSON
{
  "hex": "#182768",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 228.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30518,
    "c": 0.11527,
    "h": 268.6
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#182768
secondary
#9E8C3E
accent
#C742E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182768

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

Preview Lab → · Contrast checker → · Palette generator →

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