#123A42#123A42

#123A42 is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.4% C 0.046 H 213.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#123A42
RGBrgb(18, 58, 66)
HSLhsl(190, 57%, 16%)
HSVhsv(190, 73%, 26%)
CMYKcmyk(72.7%, 12.1%, 0%, 74.1%)
CIE-LABlab(22.12, -10.88, -9.07)
CIE-LCHlch(22.12, 14.17, 219.81°)
OKLaboklab(32.43% -0.0385 -0.0252)
OKLCHoklch(32.43% 0.046 213.2)
XYZxyz(2.7455, 3.5478, 5.6933)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A42 #421A12
analogous
#124232 #123A42 #122242
triadic
#123A42 #42123A #3A4212
tetradic
#123A42 #321242 #421A12 #224212
square
#123A42 #321242 #421A12 #224212
split-complementary
#123A42 #421222 #423212
monochromatic
#071518 #071518 #123A42 #1F6472 #2C8FA2

Accessibility & contrast

On white

12.28
#123A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#123A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A42
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A42#FFFFFF#000000##FFFFFF
##123A421.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#2D3342
Tritanopia (blue-blind)
#003D3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123a42;
/* rgb */ color: rgb(18, 58, 66);
/* oklch */ color: oklch(32.4% 0.046 213.2);
Tailwind
colors: {
  custom: {
    50: '#577076',
    500: '#123a42',
    950: '#000000',
  },
}
SCSS
$custom: #123a42;
$custom-light: #577076;
$custom-dark: #000000;
JSON
{
  "hex": "#123a42",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 190,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.04601,
    "h": 213.2
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#123A42
secondary
#7B4035
accent
#6147E0
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #123A42

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

Preview Lab → · Contrast checker → · Palette generator →

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