#183368#183368

#183368 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.2% C 0.099 H 262.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#183368
RGBrgb(24, 51, 104)
HSLhsl(220, 63%, 25%)
HSVhsv(220, 77%, 41%)
CMYKcmyk(76.9%, 51%, 0%, 59.2%)
CIE-LABlab(22.16, 10.26, -34.10)
CIE-LCHlch(22.16, 35.61, 286.75°)
OKLaboklab(33.24% -0.0135 -0.0979)
OKLCHoklch(33.24% 0.099 262.2)
XYZxyz(4.0583, 3.5609, 13.5675)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183368 #684D18
analogous
#185B68 #183368 #251868
triadic
#183368 #681833 #336818
tetradic
#183368 #68185B #684D18 #186825
square
#183368 #68185B #684D18 #186825
split-complementary
#183368 #682518 #5B6818
monochromatic
#060C19 #0D1B36 #183368 #234B9A #2F64CB

Accessibility & contrast

On white

12.26
#183368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#183368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183368
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183368#FFFFFF#000000##FFFFFF
##1833681.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16396A
Deuteranopia (green-blind)
#013267
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #183368;
/* rgb */ color: rgb(24, 51, 104);
/* oklch */ color: oklch(33.2% 0.099 262.2);
Tailwind
colors: {
  custom: {
    50: '#616a93',
    500: '#183368',
    950: '#000000',
  },
}
SCSS
$custom: #183368;
$custom-light: #616a93;
$custom-dark: #000000;
JSON
{
  "hex": "#183368",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 219.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.09878,
    "h": 262.2
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#183368
secondary
#9E7E3E
accent
#AE42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #183368

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

Preview Lab → · Contrast checker → · Palette generator →

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