#182175#182175

#182175 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.142 H 270.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#182175
RGBrgb(24, 33, 117)
HSLhsl(234, 66%, 28%)
HSVhsv(234, 79%, 46%)
CMYKcmyk(79.5%, 71.8%, 0%, 54.1%)
CIE-LABlab(18.21, 28.31, -48.92)
CIE-LCHlch(18.21, 56.53, 300.06°)
OKLaboklab(30.65% 0.0007 -0.1416)
OKLCHoklch(30.65% 0.142 270.3)
XYZxyz(4.1303, 2.5658, 17.1037)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182175 #756C18
analogous
#184F75 #182175 #3E1875
triadic
#182175 #751821 #217518
tetradic
#182175 #75184F #756C18 #18753E
square
#182175 #75184F #756C18 #18753E
split-complementary
#182175 #753E18 #4F7518
monochromatic
#050719 #0E1342 #182175 #222FA8 #3242D5

Accessibility & contrast

On white

13.88
#182175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182175
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182175#FFFFFF#000000##FFFFFF
##1821751.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182175;
/* rgb */ color: rgb(24, 33, 117);
/* oklch */ color: oklch(30.6% 0.142 270.3);
Tailwind
colors: {
  custom: {
    50: '#665c9e',
    500: '#182175',
    950: '#000000',
  },
}
SCSS
$custom: #182175;
$custom-light: #665c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#182175",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 234.194,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.14161,
    "h": 270.3
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#182175
secondary
#AAA03F
accent
#D83FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182175

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

Preview Lab → · Contrast checker → · Palette generator →

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