#123F52#123F52

#123F52 is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.058 H 230.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#123F52
RGBrgb(18, 63, 82)
HSLhsl(198, 64%, 20%)
HSVhsv(198, 78%, 32%)
CMYKcmyk(78%, 23.2%, 0%, 67.8%)
CIE-LABlab(24.62, -7.94, -15.86)
CIE-LCHlch(24.62, 17.74, 243.40°)
OKLaboklab(34.67% -0.0373 -0.0445)
OKLCHoklch(34.67% 0.058 230)
XYZxyz(3.5493, 4.2924, 8.6225)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F52 #522512
analogous
#125245 #123F52 #121F52
triadic
#123F52 #52123F #3F5212
tetradic
#123F52 #451252 #522512 #1F5212
square
#123F52 #451252 #522512 #1F5212
split-complementary
#123F52 #52121F #524512
monochromatic
#061319 #071820 #123F52 #1D6684 #288CB6

Accessibility & contrast

On white

11.30
#123F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F52
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F52#FFFFFF#000000##FFFFFF
##123F521.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123f52;
/* rgb */ color: rgb(18, 63, 82);
/* oklch */ color: oklch(34.7% 0.058 230.0);
Tailwind
colors: {
  custom: {
    50: '#5a7482',
    500: '#123f52',
    950: '#000000',
  },
}
SCSS
$custom: #123f52;
$custom-light: #5a7482;
$custom-dark: #000000;
JSON
{
  "hex": "#123f52",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 82
  },
  "hsl": {
    "h": 197.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.05807,
    "h": 230
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#123F52
secondary
#8B4E35
accent
#7241E7
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #123F52

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

Preview Lab → · Contrast checker → · Palette generator →

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