#182275#182275

#182275 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.140 H 270.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#182275
RGBrgb(24, 34, 117)
HSLhsl(234, 66%, 28%)
HSVhsv(234, 79%, 46%)
CMYKcmyk(79.5%, 70.9%, 0%, 54.1%)
CIE-LABlab(18.46, 27.64, -48.52)
CIE-LCHlch(18.46, 55.84, 299.67°)
OKLaboklab(30.83% 0.0001 -0.1404)
OKLCHoklch(30.83% 0.14 270.1)
XYZxyz(4.1585, 2.6221, 17.1131)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182275 #756B18
analogous
#185175 #182275 #3C1875
triadic
#182275 #751822 #227518
tetradic
#182275 #751851 #756B18 #18753C
square
#182275 #751851 #756B18 #18753C
split-complementary
#182275 #753C18 #517518
monochromatic
#050719 #0E1342 #182275 #2231A8 #3244D5

Accessibility & contrast

On white

13.77
#182275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182275
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182275#FFFFFF#000000##FFFFFF
##1822751.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182275;
/* rgb */ color: rgb(24, 34, 117);
/* oklch */ color: oklch(30.8% 0.140 270.1);
Tailwind
colors: {
  custom: {
    50: '#665d9e',
    500: '#182275',
    950: '#000000',
  },
}
SCSS
$custom: #182275;
$custom-light: #665d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#182275",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 233.548,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30829,
    "c": 0.14041,
    "h": 270.1
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#182275
secondary
#AA9F3F
accent
#D73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182275

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

Preview Lab → · Contrast checker → · Palette generator →

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