#123140#123140

#123140 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.7% C 0.045 H 232.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#123140
RGBrgb(18, 49, 64)
HSLhsl(200, 56%, 16%)
HSVhsv(200, 72%, 25%)
CMYKcmyk(71.9%, 23.4%, 0%, 74.9%)
CIE-LABlab(18.78, -5.86, -12.83)
CIE-LCHlch(18.78, 14.11, 245.44°)
OKLaboklab(29.73% -0.0279 -0.0359)
OKLCHoklch(29.73% 0.045 232.2)
XYZxyz(2.2728, 2.6952, 5.2499)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123140 #402112
analogous
#124038 #123140 #121A40
triadic
#123140 #401231 #314012
tetradic
#123140 #381240 #402112 #1A4012
square
#123140 #381240 #402112 #1A4012
split-complementary
#123140 #40121A #403812
monochromatic
#071218 #071218 #123140 #1F5670 #2D7AA0

Accessibility & contrast

On white

13.65
#123140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#123140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123140
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123140#FFFFFF#000000##FFFFFF
##1231401.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3041
Deuteranopia (green-blind)
#232C40
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #123140;
/* rgb */ color: rgb(18, 49, 64);
/* oklch */ color: oklch(29.7% 0.045 232.2);
Tailwind
colors: {
  custom: {
    50: '#566974',
    500: '#123140',
    950: '#000000',
  },
}
SCSS
$custom: #123140;
$custom-light: #566974;
$custom-dark: #000000;
JSON
{
  "hex": "#123140",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 64
  },
  "hsl": {
    "h": 199.565,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29731,
    "c": 0.04546,
    "h": 232.2
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#123140
secondary
#794B35
accent
#7A48DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #123140

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

Preview Lab → · Contrast checker → · Palette generator →

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