#183274#183274

#183274 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.118 H 264.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#183274
RGBrgb(24, 50, 116)
HSLhsl(223, 66%, 27%)
HSVhsv(223, 79%, 45%)
CMYKcmyk(79.3%, 56.9%, 0%, 54.5%)
CIE-LABlab(22.78, 15.97, -40.82)
CIE-LCHlch(22.78, 43.84, 291.36°)
OKLaboklab(34% -0.0111 -0.1177)
OKLCHoklch(34% 0.118 264.6)
XYZxyz(4.6686, 3.7358, 16.9946)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183274 #745A18
analogous
#186074 #183274 #2C1874
triadic
#183274 #741832 #327418
tetradic
#183274 #741860 #745A18 #18742C
square
#183274 #741860 #745A18 #18742C
split-complementary
#183274 #742C18 #607418
monochromatic
#050B19 #0E1C41 #183274 #2248A7 #3260D5

Accessibility & contrast

On white

12.02
#183274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#183274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183274
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183274#FFFFFF#000000##FFFFFF
##1832741.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183274;
/* rgb */ color: rgb(24, 50, 116);
/* oklch */ color: oklch(34.0% 0.118 264.6);
Tailwind
colors: {
  custom: {
    50: '#64699d',
    500: '#183274',
    950: '#000000',
  },
}
SCSS
$custom: #183274;
$custom-light: #64699d;
$custom-dark: #000000;
JSON
{
  "hex": "#183274",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 223.043,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.11819,
    "h": 264.6
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#183274
secondary
#A98B3F
accent
#B93FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183274

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

Preview Lab → · Contrast checker → · Palette generator →

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