#123F42#123F42

#123F42 is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.9% C 0.048 H 201.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#123F42
RGBrgb(18, 63, 66)
HSLhsl(184, 57%, 16%)
HSVhsv(184, 73%, 26%)
CMYKcmyk(72.7%, 4.5%, 0%, 74.1%)
CIE-LABlab(23.92, -13.89, -6.34)
CIE-LCHlch(23.92, 15.27, 204.52°)
OKLaboklab(33.89% -0.0448 -0.0176)
OKLCHoklch(33.89% 0.048 201.4)
XYZxyz(3.0099, 4.0766, 5.7814)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F42 #421512
analogous
#12422D #123F42 #122742
triadic
#123F42 #42123F #3F4212
tetradic
#123F42 #2D1242 #421512 #274212
square
#123F42 #2D1242 #421512 #274212
split-complementary
#123F42 #421227 #422D12
monochromatic
#071718 #071718 #123F42 #1F6D72 #2C9BA2

Accessibility & contrast

On white

11.57
#123F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#123F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F42
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F42#FFFFFF#000000##FFFFFF
##123F421.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#333742
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123f42;
/* rgb */ color: rgb(18, 63, 66);
/* oklch */ color: oklch(33.9% 0.048 201.4);
Tailwind
colors: {
  custom: {
    50: '#587476',
    500: '#123f42',
    950: '#000000',
  },
}
SCSS
$custom: #123f42;
$custom-light: #587476;
$custom-dark: #000000;
JSON
{
  "hex": "#123f42",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 183.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33888,
    "c": 0.04812,
    "h": 201.4
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#123F42
secondary
#7B3935
accent
#5147E0
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #123F42

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

Preview Lab → · Contrast checker → · Palette generator →

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