#183395#183395

#183395 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.163 H 266.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#183395
RGBrgb(24, 51, 149)
HSLhsl(227, 72%, 34%)
HSVhsv(227, 84%, 58%)
CMYKcmyk(83.9%, 65.8%, 0%, 41.6%)
CIE-LABlab(25.95, 28.58, -56.31)
CIE-LCHlch(25.95, 63.14, 296.91°)
OKLaboklab(37.27% -0.011 -0.1631)
OKLCHoklch(37.27% 0.163 266.1)
XYZxyz(6.9834, 4.7309, 28.9730)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183395 #957A18
analogous
#187295 #183395 #3C1895
triadic
#183395 #951833 #339518
tetradic
#183395 #951872 #957A18 #18953C
square
#183395 #951872 #957A18 #18953C
split-complementary
#183395 #953C18 #729518
monochromatic
#070F2C #102160 #183395 #2045CA #4668E1

Accessibility & contrast

On white

10.79
#183395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183395
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183395#FFFFFF#000000##FFFFFF
##1833951.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183395;
/* rgb */ color: rgb(24, 51, 149);
/* oklch */ color: oklch(37.3% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#6d6ab5',
    500: '#183395',
    950: '#000000',
  },
}
SCSS
$custom: #183395;
$custom-light: #6d6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#183395",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 227.04,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37271,
    "c": 0.16343,
    "h": 266.1
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#183395
secondary
#C2A846
accent
#C839EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #183395

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

Preview Lab → · Contrast checker → · Palette generator →

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