#123340#123340

#123340 is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.3% C 0.045 H 227.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#123340
RGBrgb(18, 51, 64)
HSLhsl(197, 56%, 16%)
HSVhsv(197, 72%, 25%)
CMYKcmyk(71.9%, 20.3%, 0%, 74.9%)
CIE-LABlab(19.50, -7.18, -11.72)
CIE-LCHlch(19.50, 13.74, 238.49°)
OKLaboklab(30.31% -0.0305 -0.0327)
OKLCHoklch(30.31% 0.045 227)
XYZxyz(2.3583, 2.8662, 5.2784)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123340 #401F12
analogous
#124036 #123340 #121C40
triadic
#123340 #401233 #334012
tetradic
#123340 #361240 #401F12 #1C4012
square
#123340 #361240 #401F12 #1C4012
split-complementary
#123340 #40121C #403612
monochromatic
#071318 #071318 #123340 #1F5970 #2D7FA0

Accessibility & contrast

On white

13.35
#123340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#123340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123340
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123340#FFFFFF#000000##FFFFFF
##1233401.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3241
Deuteranopia (green-blind)
#262D40
Tritanopia (blue-blind)
#003737
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #123340;
/* rgb */ color: rgb(18, 51, 64);
/* oklch */ color: oklch(30.3% 0.045 227.0);
Tailwind
colors: {
  custom: {
    50: '#566a74',
    500: '#123340',
    950: '#000000',
  },
}
SCSS
$custom: #123340;
$custom-light: #566a74;
$custom-dark: #000000;
JSON
{
  "hex": "#123340",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 64
  },
  "hsl": {
    "h": 196.957,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.04472,
    "h": 227
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#123340
secondary
#794835
accent
#7348DF
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #123340

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

Preview Lab → · Contrast checker → · Palette generator →

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