#123F5D#123F5D

#123F5D is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.3% C 0.071 H 242.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#123F5D
RGBrgb(18, 63, 93)
HSLhsl(204, 68%, 22%)
HSVhsv(204, 81%, 36%)
CMYKcmyk(80.6%, 32.3%, 0%, 63.5%)
CIE-LABlab(25.18, -3.55, -22.17)
CIE-LCHlch(25.18, 22.45, 260.91°)
OKLaboklab(35.31% -0.033 -0.0628)
OKLCHoklch(35.31% 0.071 242.2)
XYZxyz(4.0020, 4.4735, 11.0063)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F5D #5D3012
analogous
#125D56 #123F5D #121A5D
triadic
#123F5D #5D123F #3F5D12
tetradic
#123F5D #56125D #5D3012 #1A5D12
square
#123F5D #56125D #5D3012 #1A5D12
split-complementary
#123F5D #5D121A #5D5612
monochromatic
#05111A #081C2A #123F5D #1C6290 #2684C4

Accessibility & contrast

On white

11.08
#123F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#123F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F5D
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F5D#FFFFFF#000000##FFFFFF
##123F5D1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405E
Deuteranopia (green-blind)
#27395C
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123f5d;
/* rgb */ color: rgb(18, 63, 93);
/* oklch */ color: oklch(35.3% 0.071 242.2);
Tailwind
colors: {
  custom: {
    50: '#5c738b',
    500: '#123f5d',
    950: '#000000',
  },
}
SCSS
$custom: #123f5d;
$custom-light: #5c738b;
$custom-dark: #000000;
JSON
{
  "hex": "#123f5d",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 93
  },
  "hsl": {
    "h": 204,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35306,
    "c": 0.07092,
    "h": 242.2
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#123F5D
secondary
#955C35
accent
#833DEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #123F5D

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

Preview Lab → · Contrast checker → · Palette generator →

#123F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva