#123848#123848

#123848 is a dark, muted cyan. Relative luminance 0.034; OKLCH L 32.2% C 0.051 H 229.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#123848
RGBrgb(18, 56, 72)
HSLhsl(198, 60%, 18%)
HSVhsv(198, 75%, 28%)
CMYKcmyk(75%, 22.2%, 0%, 71.8%)
CIE-LABlab(21.67, -7.34, -13.78)
CIE-LCHlch(21.67, 15.62, 241.95°)
OKLaboklab(32.16% -0.0332 -0.0386)
OKLCHoklch(32.16% 0.051 229.3)
XYZxyz(2.8329, 3.4245, 6.6413)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123848 #482212
analogous
#12483D #123848 #121D48
triadic
#123848 #481238 #384812
tetradic
#123848 #3D1248 #482212 #1D4812
square
#123848 #3D1248 #482212 #1D4812
split-complementary
#123848 #48121D #483D12
monochromatic
#061318 #061318 #123848 #1E5E79 #2A84AA

Accessibility & contrast

On white

12.46
#123848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#123848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123848
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123848#FFFFFF#000000##FFFFFF
##1238481.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#283248
Tritanopia (blue-blind)
#003C3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123848;
/* rgb */ color: rgb(18, 56, 72);
/* oklch */ color: oklch(32.2% 0.051 229.3);
Tailwind
colors: {
  custom: {
    50: '#586e7b',
    500: '#123848',
    950: '#000000',
  },
}
SCSS
$custom: #123848;
$custom-light: #586e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#123848",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 72
  },
  "hsl": {
    "h": 197.778,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32163,
    "c": 0.05093,
    "h": 229.3
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#123848
secondary
#814B35
accent
#7445E3
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040709
muted
#797A7B

Preview Lab

Preview with #123848

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

Preview Lab → · Contrast checker → · Palette generator →

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