#123355#123355

#123355 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.6% C 0.072 H 251.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#123355
RGBrgb(18, 51, 85)
HSLhsl(210, 65%, 20%)
HSVhsv(210, 79%, 33%)
CMYKcmyk(78.8%, 40%, 0%, 66.7%)
CIE-LABlab(20.64, 1.34, -24.07)
CIE-LCHlch(20.64, 24.11, 273.18°)
OKLaboklab(31.58% -0.0226 -0.0685)
OKLCHoklch(31.58% 0.072 251.7)
XYZxyz(3.0724, 3.1518, 9.0390)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123355 #553412
analogous
#125455 #123355 #121255
triadic
#123355 #551233 #335512
tetradic
#123355 #551254 #553412 #125512
square
#123355 #551254 #553412 #125512
split-complementary
#123355 #551212 #545512
monochromatic
#050F19 #071522 #123355 #1D5188 #2770BA

Accessibility & contrast

On white

12.88
#123355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#123355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123355
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123355#FFFFFF#000000##FFFFFF
##1233551.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233556
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123355;
/* rgb */ color: rgb(18, 51, 85);
/* oklch */ color: oklch(31.6% 0.072 251.7);
Tailwind
colors: {
  custom: {
    50: '#5a6a85',
    500: '#123355',
    950: '#000000',
  },
}
SCSS
$custom: #123355;
$custom-light: #5a6a85;
$custom-dark: #000000;
JSON
{
  "hex": "#123355",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 85
  },
  "hsl": {
    "h": 210.448,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31584,
    "c": 0.07214,
    "h": 251.7
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#123355
secondary
#8E6235
accent
#9540E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123355

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

Preview Lab → · Contrast checker → · Palette generator →

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