#182268#182268

#182268 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.122 H 270.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#182268
RGBrgb(24, 34, 104)
HSLhsl(233, 63%, 25%)
HSVhsv(233, 77%, 41%)
CMYKcmyk(76.9%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.17, 22.54, -42.21)
CIE-LCHlch(17.17, 47.85, 298.10°)
OKLaboklab(29.49% 0.0012 -0.122)
OKLCHoklch(29.49% 0.122 270.5)
XYZxyz(3.4466, 2.3374, 13.3635)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182268 #685E18
analogous
#184A68 #182268 #361868
triadic
#182268 #681822 #226818
tetradic
#182268 #68184A #685E18 #186836
square
#182268 #68184A #685E18 #186836
split-complementary
#182268 #683618 #4A6818
monochromatic
#060819 #0D1236 #182268 #23329A #2F43CB

Accessibility & contrast

On white

14.31
#182268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#182268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182268
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182268#FFFFFF#000000##FFFFFF
##1822681.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182268;
/* rgb */ color: rgb(24, 34, 104);
/* oklch */ color: oklch(29.5% 0.122 270.5);
Tailwind
colors: {
  custom: {
    50: '#625d94',
    500: '#182268',
    950: '#000000',
  },
}
SCSS
$custom: #182268;
$custom-light: #625d94;
$custom-dark: #000000;
JSON
{
  "hex": "#182268",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 232.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29487,
    "c": 0.12198,
    "h": 270.5
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#182268
secondary
#9E923E
accent
#D142E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182268

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

Preview Lab → · Contrast checker → · Palette generator →

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