#12567F#12567F

#12567F is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.4% C 0.093 H 241.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#12567F
RGBrgb(18, 86, 127)
HSLhsl(203, 75%, 28%)
HSVhsv(203, 86%, 50%)
CMYKcmyk(85.8%, 32.3%, 0%, 50.2%)
CIE-LABlab(34.63, -4.68, -28.79)
CIE-LCHlch(34.63, 29.16, 260.78°)
OKLaboklab(43.39% -0.0446 -0.0817)
OKLCHoklch(43.39% 0.093 241.4)
XYZxyz(7.4065, 8.3155, 21.2893)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12567F #7F3B12
analogous
#127F71 #12567F #121F7F
triadic
#12567F #7F1256 #567F12
tetradic
#12567F #71127F #7F3B12 #1F7F12
square
#12567F #71127F #7F3B12 #1F7F12
split-complementary
#12567F #7F121F #7F7112
monochromatic
#04121B #0A3249 #12567F #1A7AB5 #2B9CE1

Accessibility & contrast

On white

7.89
#12567F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#12567F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12567F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12567F#FFFFFF#000000##FFFFFF
##12567F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#006065
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #12567f;
/* rgb */ color: rgb(18, 86, 127);
/* oklch */ color: oklch(43.4% 0.093 241.4);
Tailwind
colors: {
  custom: {
    50: '#6585a4',
    500: '#12567f',
    950: '#000000',
  },
}
SCSS
$custom: #12567f;
$custom-light: #6585a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12567f",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 127
  },
  "hsl": {
    "h": 202.569,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.43389,
    "c": 0.09308,
    "h": 241.4
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#12567F
secondary
#B56738
accent
#7D36F2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#060B0F
muted
#7A7C7F

Preview Lab

Preview with #12567F

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

Preview Lab → · Contrast checker → · Palette generator →

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