#183273#183273

#183273 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.117 H 264.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#183273
RGBrgb(24, 50, 115)
HSLhsl(223, 65%, 27%)
HSVhsv(223, 79%, 45%)
CMYKcmyk(79.1%, 56.5%, 0%, 54.9%)
CIE-LABlab(22.70, 15.55, -40.32)
CIE-LCHlch(22.70, 43.21, 291.09°)
OKLaboklab(33.92% -0.0112 -0.1162)
OKLCHoklch(33.92% 0.117 264.5)
XYZxyz(4.6107, 3.7127, 16.6900)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183273 #735918
analogous
#186073 #183273 #2B1873
triadic
#183273 #731832 #327318
tetradic
#183273 #731860 #735918 #18732B
square
#183273 #731860 #735918 #18732B
split-complementary
#183273 #732B18 #607318
monochromatic
#050B19 #0D1C40 #183273 #2348A6 #3160D4

Accessibility & contrast

On white

12.05
#183273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#183273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183273
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183273#FFFFFF#000000##FFFFFF
##1832731.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183273;
/* rgb */ color: rgb(24, 50, 115);
/* oklch */ color: oklch(33.9% 0.117 264.5);
Tailwind
colors: {
  custom: {
    50: '#64699c',
    500: '#183273',
    950: '#000000',
  },
}
SCSS
$custom: #183273;
$custom-light: #64699c;
$custom-dark: #000000;
JSON
{
  "hex": "#183273",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 222.857,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33917,
    "c": 0.11671,
    "h": 264.5
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#183273
secondary
#A88A3F
accent
#B83FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183273

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

Preview Lab → · Contrast checker → · Palette generator →

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