#123247#123247

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

Color values

HEX#123247
RGBrgb(18, 50, 71)
HSLhsl(204, 60%, 17%)
HSVhsv(204, 75%, 28%)
CMYKcmyk(74.6%, 29.6%, 0%, 72.2%)
CIE-LABlab(19.49, -3.76, -16.49)
CIE-LCHlch(19.49, 16.91, 257.17°)
OKLaboklab(30.42% -0.0262 -0.0464)
OKLCHoklch(30.42% 0.053 240.5)
XYZxyz(2.5270, 2.8645, 6.3797)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123247 #472712
analogous
#124742 #123247 #121747
triadic
#123247 #471232 #324712
tetradic
#123247 #421247 #472712 #174712
square
#123247 #421247 #472712 #174712
split-complementary
#123247 #471217 #474212
monochromatic
#061118 #061118 #123247 #1E5478 #2B77A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123247#FFFFFF#000000##FFFFFF
##1232471.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)
#283248
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#003739
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #123247;
/* rgb */ color: rgb(18, 50, 71);
/* oklch */ color: oklch(30.4% 0.053 240.5);
Tailwind
colors: {
  custom: {
    50: '#57697a',
    500: '#123247',
    950: '#000000',
  },
}
SCSS
$custom: #123247;
$custom-light: #57697a;
$custom-dark: #000000;
JSON
{
  "hex": "#123247",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 71
  },
  "hsl": {
    "h": 203.774,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30416,
    "c": 0.05333,
    "h": 240.5
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#123247
secondary
#805335
accent
#8445E3
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #123247

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

Preview Lab → · Contrast checker → · Palette generator →

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