#123040#123040

#123040 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.046 H 234.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#123040
RGBrgb(18, 48, 64)
HSLhsl(201, 56%, 16%)
HSVhsv(201, 72%, 25%)
CMYKcmyk(71.9%, 25%, 0%, 74.9%)
CIE-LABlab(18.42, -5.19, -13.39)
CIE-LCHlch(18.42, 14.36, 248.81°)
OKLaboklab(29.45% -0.0266 -0.0375)
OKLCHoklch(29.45% 0.046 234.7)
XYZxyz(2.2315, 2.6124, 5.2361)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123040 #402212
analogous
#124039 #123040 #121940
triadic
#123040 #401230 #304012
tetradic
#123040 #391240 #402212 #194012
square
#123040 #391240 #402212 #194012
split-complementary
#123040 #401219 #403912
monochromatic
#071218 #071218 #123040 #1F5470 #2D78A0

Accessibility & contrast

On white

13.79
#123040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#123040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123040
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123040#FFFFFF#000000##FFFFFF
##1230401.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283041
Deuteranopia (green-blind)
#222B40
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #123040;
/* rgb */ color: rgb(18, 48, 64);
/* oklch */ color: oklch(29.4% 0.046 234.7);
Tailwind
colors: {
  custom: {
    50: '#566874',
    500: '#123040',
    950: '#000000',
  },
}
SCSS
$custom: #123040;
$custom-light: #566874;
$custom-dark: #000000;
JSON
{
  "hex": "#123040",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 200.87,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29445,
    "c": 0.04598,
    "h": 234.7
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#123040
secondary
#794D35
accent
#7D48DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #123040

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

Preview Lab → · Contrast checker → · Palette generator →

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