#123A4F#123A4F

#123A4F is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.1% C 0.058 H 235.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#123A4F
RGBrgb(18, 58, 79)
HSLhsl(201, 63%, 19%)
HSVhsv(201, 77%, 31%)
CMYKcmyk(77.2%, 26.6%, 0%, 69%)
CIE-LABlab(22.72, -5.90, -16.82)
CIE-LCHlch(22.72, 17.82, 250.69°)
OKLaboklab(33.11% -0.0327 -0.0473)
OKLCHoklch(33.11% 0.058 235.4)
XYZxyz(3.1732, 3.7189, 7.9462)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A4F #4F2712
analogous
#124F46 #123A4F #121C4F
triadic
#123A4F #4F123A #3A4F12
tetradic
#123A4F #46124F #4F2712 #1C4F12
square
#123A4F #46124F #4F2712 #1C4F12
split-complementary
#123A4F #4F121C #4F4612
monochromatic
#061219 #07151D #123A4F #1D5F81 #2983B3

Accessibility & contrast

On white

12.04
#123A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A4F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A4F#FFFFFF#000000##FFFFFF
##123A4F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#28344F
Tritanopia (blue-blind)
#003F41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123a4f;
/* rgb */ color: rgb(18, 58, 79);
/* oklch */ color: oklch(33.1% 0.058 235.4);
Tailwind
colors: {
  custom: {
    50: '#597080',
    500: '#123a4f',
    950: '#000000',
  },
}
SCSS
$custom: #123a4f;
$custom-light: #597080;
$custom-dark: #000000;
JSON
{
  "hex": "#123a4f",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 79
  },
  "hsl": {
    "h": 200.656,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.33114,
    "c": 0.05751,
    "h": 235.4
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#123A4F
secondary
#885135
accent
#7A42E6
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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