#123868#123868

#123868 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.094 H 256.0°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#123868
RGBrgb(18, 56, 104)
HSLhsl(213, 70%, 24%)
HSVhsv(213, 83%, 41%)
CMYKcmyk(82.7%, 46.2%, 0%, 59.2%)
CIE-LABlab(23.53, 5.86, -31.92)
CIE-LCHlch(23.53, 32.45, 280.40°)
OKLaboklab(34.23% -0.0227 -0.0914)
OKLCHoklch(34.23% 0.094 256)
XYZxyz(4.1614, 3.9559, 13.6383)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123868 #684212
analogous
#126368 #123868 #171268
triadic
#123868 #681238 #386812
tetradic
#123868 #681263 #684212 #126817
square
#123868 #681263 #684212 #126817
split-complementary
#123868 #681712 #636812
monochromatic
#050E1A #091C34 #123868 #1B549C #2470D0

Accessibility & contrast

On white

11.72
#123868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123868
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123868#FFFFFF#000000##FFFFFF
##1238681.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#0F3467
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123868;
/* rgb */ color: rgb(18, 56, 104);
/* oklch */ color: oklch(34.2% 0.094 256.0);
Tailwind
colors: {
  custom: {
    50: '#5f6e93',
    500: '#123868',
    950: '#000000',
  },
}
SCSS
$custom: #123868;
$custom-light: #5f6e93;
$custom-dark: #000000;
JSON
{
  "hex": "#123868",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 213.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34229,
    "c": 0.09423,
    "h": 256
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#123868
secondary
#A07136
accent
#9E3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #123868

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

Preview Lab → · Contrast checker → · Palette generator →

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