#182875#182875

#182875 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.133 H 268.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#182875
RGBrgb(24, 40, 117)
HSLhsl(230, 66%, 28%)
HSVhsv(230, 79%, 46%)
CMYKcmyk(79.5%, 65.8%, 0%, 54.1%)
CIE-LABlab(20.03, 23.50, -45.95)
CIE-LCHlch(20.03, 51.61, 297.09°)
OKLaboklab(31.97% -0.0036 -0.1329)
OKLCHoklch(31.97% 0.133 268.4)
XYZxyz(4.3453, 2.9956, 17.1754)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182875 #756518
analogous
#185775 #182875 #361875
triadic
#182875 #751828 #287518
tetradic
#182875 #751857 #756518 #187536
square
#182875 #751857 #756518 #187536
split-complementary
#182875 #753618 #577518
monochromatic
#050919 #0E1742 #182875 #2239A8 #324ED5

Accessibility & contrast

On white

13.13
#182875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182875
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182875#FFFFFF#000000##FFFFFF
##1828751.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182875;
/* rgb */ color: rgb(24, 40, 117);
/* oklch */ color: oklch(32.0% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#65619e',
    500: '#182875',
    950: '#000000',
  },
}
SCSS
$custom: #182875;
$custom-light: #65619e;
$custom-dark: #000000;
JSON
{
  "hex": "#182875",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 229.677,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31974,
    "c": 0.13292,
    "h": 268.4
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#182875
secondary
#AA983F
accent
#CC3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #182875

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

Preview Lab → · Contrast checker → · Palette generator →

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