#182865#182865

#182865 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.109 H 268.1°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#182865
RGBrgb(24, 40, 101)
HSLhsl(228, 62%, 25%)
HSVhsv(228, 76%, 40%)
CMYKcmyk(76.2%, 60.4%, 0%, 60.4%)
CIE-LABlab(18.59, 17.00, -37.92)
CIE-LCHlch(18.59, 41.56, 294.14°)
OKLaboklab(30.46% -0.0037 -0.1093)
OKLCHoklch(30.46% 0.109 268.1)
XYZxyz(3.4836, 2.6510, 12.6375)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182865 #655518
analogous
#184F65 #182865 #2E1865
triadic
#182865 #651828 #286518
tetradic
#182865 #65184F #655518 #18652E
square
#182865 #65184F #655518 #18652E
split-complementary
#182865 #652E18 #4F6518
monochromatic
#060A19 #0C1434 #182865 #243C96 #304FC8

Accessibility & contrast

On white

13.72
#182865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182865
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182865#FFFFFF#000000##FFFFFF
##1828651.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182865;
/* rgb */ color: rgb(24, 40, 101);
/* oklch */ color: oklch(30.5% 0.109 268.1);
Tailwind
colors: {
  custom: {
    50: '#616191',
    500: '#182865',
    950: '#000000',
  },
}
SCSS
$custom: #182865;
$custom-light: #616191;
$custom-dark: #000000;
JSON
{
  "hex": "#182865",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 227.532,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30458,
    "c": 0.10938,
    "h": 268.1
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#182865
secondary
#9B883E
accent
#C343E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #182865

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

Preview Lab → · Contrast checker → · Palette generator →

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