#123151#123151

#123151 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.069 H 251.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#123151
RGBrgb(18, 49, 81)
HSLhsl(210, 64%, 19%)
HSVhsv(210, 78%, 32%)
CMYKcmyk(77.8%, 39.5%, 0%, 68.2%)
CIE-LABlab(19.72, 1.06, -22.87)
CIE-LCHlch(19.72, 22.89, 272.67°)
OKLaboklab(30.78% -0.0216 -0.065)
OKLCHoklch(30.78% 0.069 251.6)
XYZxyz(2.8324, 2.9190, 8.1971)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123151 #513212
analogous
#125151 #123151 #131251
triadic
#123151 #511231 #315112
tetradic
#123151 #511251 #513212 #125113
square
#123151 #511251 #513212 #125113
split-complementary
#123151 #511312 #515112
monochromatic
#060F19 #07131F #123151 #1D4F83 #286EB5

Accessibility & contrast

On white

13.26
#123151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#123151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123151
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123151#FFFFFF#000000##FFFFFF
##1231511.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223352
Deuteranopia (green-blind)
#192D50
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123151;
/* rgb */ color: rgb(18, 49, 81);
/* oklch */ color: oklch(30.8% 0.069 251.6);
Tailwind
colors: {
  custom: {
    50: '#596882',
    500: '#123151',
    950: '#000000',
  },
}
SCSS
$custom: #123151;
$custom-light: #596882;
$custom-dark: #000000;
JSON
{
  "hex": "#123151",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 210.476,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.06851,
    "h": 251.6
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#123151
secondary
#8A6035
accent
#9541E7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #123151

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

Preview Lab → · Contrast checker → · Palette generator →

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