#123351#123351

#123351 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.066 H 248.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#123351
RGBrgb(18, 51, 81)
HSLhsl(209, 64%, 19%)
HSVhsv(209, 78%, 32%)
CMYKcmyk(77.8%, 37%, 0%, 68.2%)
CIE-LABlab(20.40, -0.34, -21.79)
CIE-LCHlch(20.40, 21.79, 269.11°)
OKLaboklab(31.32% -0.0238 -0.0618)
OKLCHoklch(31.32% 0.066 248.9)
XYZxyz(2.9179, 3.0900, 8.2256)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123351 #513012
analogous
#125150 #123351 #121451
triadic
#123351 #511233 #335112
tetradic
#123351 #501251 #513012 #145112
square
#123351 #501251 #513012 #145112
split-complementary
#123351 #511214 #515012
monochromatic
#061019 #07131F #123351 #1D5383 #2872B5

Accessibility & contrast

On white

12.98
#123351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#123351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123351
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123351#FFFFFF#000000##FFFFFF
##1233511.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#1D2E50
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123351;
/* rgb */ color: rgb(18, 51, 81);
/* oklch */ color: oklch(31.3% 0.066 248.9);
Tailwind
colors: {
  custom: {
    50: '#596a82',
    500: '#123351',
    950: '#000000',
  },
}
SCSS
$custom: #123351;
$custom-light: #596a82;
$custom-dark: #000000;
JSON
{
  "hex": "#123351",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 81
  },
  "hsl": {
    "h": 208.571,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31316,
    "c": 0.06627,
    "h": 248.9
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#123351
secondary
#8A5D35
accent
#9041E7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #123351

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

Preview Lab → · Contrast checker → · Palette generator →

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