#12657F#12657F

#12657F is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.3% C 0.084 H 225.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#12657F
RGBrgb(18, 101, 127)
HSLhsl(194, 75%, 28%)
HSVhsv(194, 86%, 50%)
CMYKcmyk(85.8%, 20.5%, 0%, 50.2%)
CIE-LABlab(39.53, -13.72, -21.15)
CIE-LCHlch(39.53, 25.21, 237.03°)
OKLaboklab(47.29% -0.0593 -0.0594)
OKLCHoklch(47.29% 0.084 225)
XYZxyz(8.7323, 10.9672, 21.7312)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12657F #7F2C12
analogous
#127F62 #12657F #122E7F
triadic
#12657F #7F1265 #657F12
tetradic
#12657F #62127F #7F2C12 #2E7F12
square
#12657F #62127F #7F2C12 #2E7F12
split-complementary
#12657F #7F122E #7F6212
monochromatic
#04151B #0A3A49 #12657F #1A90B5 #2BB5E1

Accessibility & contrast

On white

6.58
#12657F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#12657F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12657F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12657F#FFFFFF#000000##FFFFFF
##12657F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576380
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#006D6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #12657f;
/* rgb */ color: rgb(18, 101, 127);
/* oklch */ color: oklch(47.3% 0.084 225.0);
Tailwind
colors: {
  custom: {
    50: '#6691a4',
    500: '#12657f',
    950: '#000000',
  },
}
SCSS
$custom: #12657f;
$custom-light: #6691a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12657f",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 127
  },
  "hsl": {
    "h": 194.312,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.08397,
    "h": 225
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#12657F
secondary
#B55638
accent
#6336F2
background
#F6F8FA
surface
#EBF0F4
border
#C6CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #12657F

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

Preview Lab → · Contrast checker → · Palette generator →

#12657F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva