#123955#123955

#123955 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.066 H 243.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#123955
RGBrgb(18, 57, 85)
HSLhsl(205, 65%, 20%)
HSVhsv(205, 79%, 33%)
CMYKcmyk(78.8%, 32.9%, 0%, 66.7%)
CIE-LABlab(22.69, -2.81, -20.84)
CIE-LCHlch(22.69, 21.03, 262.33°)
OKLaboklab(33.19% -0.0292 -0.059)
OKLCHoklch(33.19% 0.066 243.6)
XYZxyz(3.3516, 3.7104, 9.1321)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123955 #552E12
analogous
#125550 #123955 #121755
triadic
#123955 #551239 #395512
tetradic
#123955 #501255 #552E12 #175512
square
#123955 #501255 #552E12 #175512
split-complementary
#123955 #551217 #555012
monochromatic
#051119 #071722 #123955 #1D5B88 #277DBA

Accessibility & contrast

On white

12.05
#123955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123955
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123955#FFFFFF#000000##FFFFFF
##1239551.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A56
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#004043
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123955;
/* rgb */ color: rgb(18, 57, 85);
/* oklch */ color: oklch(33.2% 0.066 243.6);
Tailwind
colors: {
  custom: {
    50: '#5a6f85',
    500: '#123955',
    950: '#000000',
  },
}
SCSS
$custom: #123955;
$custom-light: #5a6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#123955",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 85
  },
  "hsl": {
    "h": 205.075,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.06583,
    "h": 243.6
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#123955
secondary
#8E5A35
accent
#8640E8
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123955

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

Preview Lab → · Contrast checker → · Palette generator →

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