#123754#123754

#123754 is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.6% C 0.066 H 245.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#123754
RGBrgb(18, 55, 84)
HSLhsl(206, 65%, 20%)
HSVhsv(206, 79%, 33%)
CMYKcmyk(78.6%, 34.5%, 0%, 67.1%)
CIE-LABlab(21.95, -1.86, -21.35)
CIE-LCHlch(21.95, 21.43, 265.03°)
OKLaboklab(32.59% -0.0274 -0.0605)
OKLCHoklch(32.59% 0.066 245.7)
XYZxyz(3.2153, 3.5007, 8.8920)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123754 #542F12
analogous
#125450 #123754 #121654
triadic
#123754 #541237 #375412
tetradic
#123754 #501254 #542F12 #165412
square
#123754 #501254 #542F12 #165412
split-complementary
#123754 #541216 #545012
monochromatic
#051019 #071622 #123754 #1D5886 #2879B9

Accessibility & contrast

On white

12.35
#123754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123754
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123754#FFFFFF#000000##FFFFFF
##1237541.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3855
Deuteranopia (green-blind)
#213253
Tritanopia (blue-blind)
#003E41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123754;
/* rgb */ color: rgb(18, 55, 84);
/* oklch */ color: oklch(32.6% 0.066 245.7);
Tailwind
colors: {
  custom: {
    50: '#5a6d84',
    500: '#123754',
    950: '#000000',
  },
}
SCSS
$custom: #123754;
$custom-light: #5a6d84;
$custom-dark: #000000;
JSON
{
  "hex": "#123754",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 84
  },
  "hsl": {
    "h": 206.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3259,
    "c": 0.06638,
    "h": 245.7
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#123754
secondary
#8D5C35
accent
#8A40E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123754

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

Preview Lab → · Contrast checker → · Palette generator →

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