#123862#123862

#123862 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.8% C 0.085 H 253.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#123862
RGBrgb(18, 56, 98)
HSLhsl(212, 69%, 23%)
HSVhsv(212, 82%, 38%)
CMYKcmyk(81.6%, 42.9%, 0%, 61.6%)
CIE-LABlab(23.13, 3.31, -28.66)
CIE-LCHlch(23.13, 28.85, 276.59°)
OKLaboklab(33.79% -0.0242 -0.0819)
OKLCHoklch(33.79% 0.085 253.5)
XYZxyz(3.8674, 3.8383, 12.0900)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123862 #623C12
analogous
#126062 #123862 #141262
triadic
#123862 #621238 #386212
tetradic
#123862 #621260 #623C12 #126214
square
#123862 #621260 #623C12 #126214
split-complementary
#123862 #621412 #606212
monochromatic
#050F1A #091A2E #123862 #1B5696 #2573C9

Accessibility & contrast

On white

11.88
#123862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123862
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123862#FFFFFF#000000##FFFFFF
##1238621.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#173461
Tritanopia (blue-blind)
#004248
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123862;
/* rgb */ color: rgb(18, 56, 98);
/* oklch */ color: oklch(33.8% 0.085 253.5);
Tailwind
colors: {
  custom: {
    50: '#5d6e8f',
    500: '#123862',
    950: '#000000',
  },
}
SCSS
$custom: #123862;
$custom-light: #5d6e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#123862",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 98
  },
  "hsl": {
    "h": 211.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33793,
    "c": 0.08538,
    "h": 253.5
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#123862
secondary
#9A6A36
accent
#983CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #123862

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

Preview Lab → · Contrast checker → · Palette generator →

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