#182670#182670

#182670 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.128 H 269.1°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#182670
RGBrgb(24, 38, 112)
HSLhsl(230, 65%, 27%)
HSVhsv(230, 79%, 44%)
CMYKcmyk(78.6%, 66.1%, 0%, 56.1%)
CIE-LABlab(19.01, 22.91, -44.39)
CIE-LCHlch(19.01, 49.95, 297.29°)
OKLaboklab(31.08% -0.0021 -0.1283)
OKLCHoklch(31.08% 0.128 269.1)
XYZxyz(3.9934, 2.7498, 15.6464)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182670 #706218
analogous
#185270 #182670 #361870
triadic
#182670 #701826 #267018
tetradic
#182670 #701852 #706218 #187036
square
#182670 #701852 #706218 #187036
split-complementary
#182670 #703618 #527018
monochromatic
#050919 #0D153E #182670 #2337A2 #304AD3

Accessibility & contrast

On white

13.55
#182670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182670
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182670#FFFFFF#000000##FFFFFF
##1826701.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182670;
/* rgb */ color: rgb(24, 38, 112);
/* oklch */ color: oklch(31.1% 0.128 269.1);
Tailwind
colors: {
  custom: {
    50: '#64609a',
    500: '#182670',
    950: '#000000',
  },
}
SCSS
$custom: #182670;
$custom-light: #64609a;
$custom-dark: #000000;
JSON
{
  "hex": "#182670",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 230.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31081,
    "c": 0.12834,
    "h": 269.1
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#182670
secondary
#A5953E
accent
#CD40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182670

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

Preview Lab → · Contrast checker → · Palette generator →

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