#123A51#123A51

#123A51 is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.060 H 237.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#123A51
RGBrgb(18, 58, 81)
HSLhsl(202, 64%, 19%)
HSVhsv(202, 78%, 32%)
CMYKcmyk(77.8%, 28.4%, 0%, 68.2%)
CIE-LABlab(22.82, -5.10, -17.99)
CIE-LCHlch(22.82, 18.70, 254.18°)
OKLaboklab(33.23% -0.0319 -0.0507)
OKLCHoklch(33.23% 0.06 237.8)
XYZxyz(3.2471, 3.7484, 8.3354)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A51 #512912
analogous
#125149 #123A51 #121B51
triadic
#123A51 #51123A #3A5112
tetradic
#123A51 #491251 #512912 #1B5112
square
#123A51 #491251 #512912 #1B5112
split-complementary
#123A51 #51121B #514912
monochromatic
#061219 #07161F #123A51 #1D5E83 #2882B5

Accessibility & contrast

On white

12.00
#123A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A51
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A51#FFFFFF#000000##FFFFFF
##123A511.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#273451
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123a51;
/* rgb */ color: rgb(18, 58, 81);
/* oklch */ color: oklch(33.2% 0.060 237.8);
Tailwind
colors: {
  custom: {
    50: '#5a7082',
    500: '#123a51',
    950: '#000000',
  },
}
SCSS
$custom: #123a51;
$custom-light: #5a7082;
$custom-dark: #000000;
JSON
{
  "hex": "#123a51",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 81
  },
  "hsl": {
    "h": 201.905,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33229,
    "c": 0.05989,
    "h": 237.8
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#123A51
secondary
#8A5435
accent
#7E41E7
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123A51

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

Preview Lab → · Contrast checker → · Palette generator →

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