#18276E#18276E

#18276E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.124 H 268.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#18276E
RGBrgb(24, 39, 110)
HSLhsl(230, 64%, 26%)
HSVhsv(230, 78%, 43%)
CMYKcmyk(78.2%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.10, 21.39, -42.95)
CIE-LCHlch(19.10, 47.98, 296.47°)
OKLaboklab(31.09% -0.0027 -0.1241)
OKLCHoklch(31.09% 0.124 268.7)
XYZxyz(3.9157, 2.7706, 15.0772)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18276E #6E5F18
analogous
#18526E #18276E #34186E
triadic
#18276E #6E1827 #276E18
tetradic
#18276E #6E1852 #6E5F18 #186E34
square
#18276E #6E1852 #6E5F18 #186E34
split-complementary
#18276E #6E3418 #526E18
monochromatic
#050919 #0D153C #18276E #2339A0 #2F4BD2

Accessibility & contrast

On white

13.51
#18276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#18276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18276E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18276E#FFFFFF#000000##FFFFFF
##18276E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18276e;
/* rgb */ color: rgb(24, 39, 110);
/* oklch */ color: oklch(31.1% 0.124 268.7);
Tailwind
colors: {
  custom: {
    50: '#636098',
    500: '#18276e',
    950: '#000000',
  },
}
SCSS
$custom: #18276e;
$custom-light: #636098;
$custom-dark: #000000;
JSON
{
  "hex": "#18276e",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 229.535,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31088,
    "c": 0.12413,
    "h": 268.7
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#18276E
secondary
#A4923E
accent
#CA41E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #18276E

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

Preview Lab → · Contrast checker → · Palette generator →

#18276E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva