#123F4C#123F4C

#123F4C is a dark, muted cyan. Relative luminance 0.042; OKLCH L 34.4% C 0.053 H 220.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#123F4C
RGBrgb(18, 63, 76)
HSLhsl(193, 62%, 18%)
HSVhsv(193, 76%, 30%)
CMYKcmyk(76.3%, 17.1%, 0%, 70.2%)
CIE-LABlab(24.34, -10.25, -12.33)
CIE-LCHlch(24.34, 16.04, 230.28°)
OKLaboklab(34.36% -0.0399 -0.0344)
OKLCHoklch(34.36% 0.053 220.8)
XYZxyz(3.3309, 4.2050, 7.4722)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F4C #4C1F12
analogous
#124C3C #123F4C #12224C
triadic
#123F4C #4C123F #3F4C12
tetradic
#123F4C #3C124C #4C1F12 #224C12
square
#123F4C #3C124C #4C1F12 #224C12
split-complementary
#123F4C #4C1222 #4C3C12
monochromatic
#061519 #06161B #123F4C #1E687D #2991AF

Accessibility & contrast

On white

11.41
#123F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#123F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F4C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F4C#FFFFFF#000000##FFFFFF
##123F4C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#004343
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123f4c;
/* rgb */ color: rgb(18, 63, 76);
/* oklch */ color: oklch(34.4% 0.053 220.8);
Tailwind
colors: {
  custom: {
    50: '#59747e',
    500: '#123f4c',
    950: '#000000',
  },
}
SCSS
$custom: #123f4c;
$custom-light: #59747e;
$custom-dark: #000000;
JSON
{
  "hex": "#123f4c",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 76
  },
  "hsl": {
    "h": 193.448,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3436,
    "c": 0.05273,
    "h": 220.8
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#123F4C
secondary
#854735
accent
#6743E5
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#040809
muted
#797B7B

Preview Lab

Preview with #123F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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