#182B75#182B75

#182B75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.129 H 267.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#182B75
RGBrgb(24, 43, 117)
HSLhsl(228, 66%, 28%)
HSVhsv(228, 79%, 46%)
CMYKcmyk(79.5%, 63.2%, 0%, 54.1%)
CIE-LABlab(20.85, 21.38, -44.60)
CIE-LCHlch(20.85, 49.46, 295.61°)
OKLaboklab(32.58% -0.0057 -0.1289)
OKLCHoklch(32.58% 0.129 267.5)
XYZxyz(4.4503, 3.2058, 17.2104)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B75 #756218
analogous
#185975 #182B75 #341875
triadic
#182B75 #75182B #2B7518
tetradic
#182B75 #751859 #756218 #187534
square
#182B75 #751859 #756218 #187534
split-complementary
#182B75 #753418 #597518
monochromatic
#050919 #0E1842 #182B75 #223EA8 #3254D5

Accessibility & contrast

On white

12.80
#182B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B75
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B75#FFFFFF#000000##FFFFFF
##182B751.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182b75;
/* rgb */ color: rgb(24, 43, 117);
/* oklch */ color: oklch(32.6% 0.129 267.5);
Tailwind
colors: {
  custom: {
    50: '#65649d',
    500: '#182b75',
    950: '#000000',
  },
}
SCSS
$custom: #182b75;
$custom-light: #65649d;
$custom-dark: #000000;
JSON
{
  "hex": "#182b75",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 227.742,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.12901,
    "h": 267.5
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#182B75
secondary
#AA943F
accent
#C63FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B75

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

Preview Lab → · Contrast checker → · Palette generator →

#182B75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva