#183078#183078

#183078 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.9% C 0.127 H 265.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#183078
RGBrgb(24, 48, 120)
HSLhsl(225, 67%, 28%)
HSVhsv(225, 80%, 47%)
CMYKcmyk(80%, 60%, 0%, 52.9%)
CIE-LABlab(22.53, 19.04, -43.78)
CIE-LCHlch(22.53, 47.74, 293.50°)
OKLaboklab(33.92% -0.0093 -0.1264)
OKLCHoklch(33.92% 0.127 265.8)
XYZxyz(4.8226, 3.6636, 18.2186)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183078 #786018
analogous
#186078 #183078 #301878
triadic
#183078 #781830 #307818
tetradic
#183078 #781860 #786018 #187830
square
#183078 #781860 #786018 #187830
split-complementary
#183078 #783018 #607818
monochromatic
#050A1A #0E1C45 #183078 #2244AB #345DD6

Accessibility & contrast

On white

12.12
#183078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183078
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183078#FFFFFF#000000##FFFFFF
##1830781.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183078;
/* rgb */ color: rgb(24, 48, 120);
/* oklch */ color: oklch(33.9% 0.127 265.8);
Tailwind
colors: {
  custom: {
    50: '#6567a0',
    500: '#183078',
    950: '#000000',
  },
}
SCSS
$custom: #183078;
$custom-light: #6567a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183078",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33917,
    "c": 0.12674,
    "h": 265.8
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#183078
secondary
#AD913F
accent
#BF3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #183078

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

Preview Lab → · Contrast checker → · Palette generator →

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