#123251#123251

#123251 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.067 H 250.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#123251
RGBrgb(18, 50, 81)
HSLhsl(210, 64%, 19%)
HSVhsv(210, 78%, 32%)
CMYKcmyk(77.8%, 38.3%, 0%, 68.2%)
CIE-LABlab(20.06, 0.36, -22.33)
CIE-LCHlch(20.06, 22.33, 270.92°)
OKLaboklab(31.05% -0.0227 -0.0634)
OKLCHoklch(31.05% 0.067 250.3)
XYZxyz(2.8747, 3.0036, 8.2112)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123251 #513112
analogous
#125151 #123251 #121351
triadic
#123251 #511232 #325112
tetradic
#123251 #511251 #513112 #135112
square
#123251 #511251 #513112 #135112
split-complementary
#123251 #511213 #515112
monochromatic
#060F19 #07131F #123251 #1D5183 #2870B5

Accessibility & contrast

On white

13.12
#123251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#123251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123251
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123251#FFFFFF#000000##FFFFFF
##1232511.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1B2E50
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123251;
/* rgb */ color: rgb(18, 50, 81);
/* oklch */ color: oklch(31.0% 0.067 250.3);
Tailwind
colors: {
  custom: {
    50: '#596982',
    500: '#123251',
    950: '#000000',
  },
}
SCSS
$custom: #123251;
$custom-light: #596982;
$custom-dark: #000000;
JSON
{
  "hex": "#123251",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 81
  },
  "hsl": {
    "h": 209.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31047,
    "c": 0.06736,
    "h": 250.3
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#123251
secondary
#8A5F35
accent
#9341E7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #123251

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

Preview Lab → · Contrast checker → · Palette generator →

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