#123948#123948

#123948 is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.4% C 0.051 H 227.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#123948
RGBrgb(18, 57, 72)
HSLhsl(197, 60%, 18%)
HSVhsv(197, 75%, 28%)
CMYKcmyk(75%, 20.8%, 0%, 71.8%)
CIE-LABlab(22.03, -7.99, -13.23)
CIE-LCHlch(22.03, 15.46, 238.87°)
OKLaboklab(32.45% -0.0345 -0.037)
OKLCHoklch(32.45% 0.051 227)
XYZxyz(2.8818, 3.5224, 6.6577)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123948 #482112
analogous
#12483C #123948 #121E48
triadic
#123948 #481239 #394812
tetradic
#123948 #3C1248 #482112 #1E4812
square
#123948 #3C1248 #482112 #1E4812
split-complementary
#123948 #48121E #483C12
monochromatic
#061318 #061318 #123948 #1E6079 #2A87AA

Accessibility & contrast

On white

12.32
#123948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123948
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123948#FFFFFF#000000##FFFFFF
##1239481.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313849
Deuteranopia (green-blind)
#2A3248
Tritanopia (blue-blind)
#003D3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123948;
/* rgb */ color: rgb(18, 57, 72);
/* oklch */ color: oklch(32.4% 0.051 227.0);
Tailwind
colors: {
  custom: {
    50: '#586f7b',
    500: '#123948',
    950: '#000000',
  },
}
SCSS
$custom: #123948;
$custom-light: #586f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#123948",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 72
  },
  "hsl": {
    "h": 196.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.05057,
    "h": 227
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#123948
secondary
#814A35
accent
#7145E3
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#040709
muted
#797A7B

Preview Lab

Preview with #123948

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

Preview Lab → · Contrast checker → · Palette generator →

#123948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva