#123864#123864

#123864 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.088 H 254.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#123864
RGBrgb(18, 56, 100)
HSLhsl(212, 69%, 23%)
HSVhsv(212, 82%, 39%)
CMYKcmyk(82%, 44%, 0%, 60.8%)
CIE-LABlab(23.26, 4.16, -29.76)
CIE-LCHlch(23.26, 30.05, 277.96°)
OKLaboklab(33.94% -0.0237 -0.0851)
OKLCHoklch(33.94% 0.088 254.5)
XYZxyz(3.9630, 3.8766, 12.5935)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123864 #643E12
analogous
#126164 #123864 #151264
triadic
#123864 #641238 #386412
tetradic
#123864 #641261 #643E12 #126415
square
#123864 #641261 #643E12 #126415
split-complementary
#123864 #641512 #616412
monochromatic
#050F1A #091B30 #123864 #1B5598 #2572CC

Accessibility & contrast

On white

11.83
#123864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123864
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123864#FFFFFF#000000##FFFFFF
##1238641.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B66
Deuteranopia (green-blind)
#143463
Tritanopia (blue-blind)
#004249
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123864;
/* rgb */ color: rgb(18, 56, 100);
/* oklch */ color: oklch(33.9% 0.088 254.5);
Tailwind
colors: {
  custom: {
    50: '#5e6e90',
    500: '#123864',
    950: '#000000',
  },
}
SCSS
$custom: #123864;
$custom-light: #5e6e90;
$custom-dark: #000000;
JSON
{
  "hex": "#123864",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 100
  },
  "hsl": {
    "h": 212.195,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.08832,
    "h": 254.5
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#123864
secondary
#9C6D36
accent
#9A3BEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123864

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

Preview Lab → · Contrast checker → · Palette generator →

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