#183270#183270

#183270 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.112 H 264.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#183270
RGBrgb(24, 50, 112)
HSLhsl(222, 65%, 27%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(78.6%, 55.4%, 0%, 56.1%)
CIE-LABlab(22.46, 14.31, -38.78)
CIE-LCHlch(22.46, 41.33, 290.25°)
OKLaboklab(33.66% -0.0115 -0.1116)
OKLCHoklch(33.66% 0.112 264.1)
XYZxyz(4.4409, 3.6448, 15.7956)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183270 #705618
analogous
#185E70 #183270 #2A1870
triadic
#183270 #701832 #327018
tetradic
#183270 #70185E #705618 #18702A
square
#183270 #70185E #705618 #18702A
split-complementary
#183270 #702A18 #5E7018
monochromatic
#050B19 #0D1C3E #183270 #2348A2 #3060D3

Accessibility & contrast

On white

12.15
#183270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#183270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183270
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183270#FFFFFF#000000##FFFFFF
##1832701.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063A72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183270;
/* rgb */ color: rgb(24, 50, 112);
/* oklch */ color: oklch(33.7% 0.112 264.1);
Tailwind
colors: {
  custom: {
    50: '#63699a',
    500: '#183270',
    950: '#000000',
  },
}
SCSS
$custom: #183270;
$custom-light: #63699a;
$custom-dark: #000000;
JSON
{
  "hex": "#183270",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 222.273,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33662,
    "c": 0.11224,
    "h": 264.1
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#183270
secondary
#A5873E
accent
#B640E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183270

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

Preview Lab → · Contrast checker → · Palette generator →

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