#12528F#12528F

#12528F is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.118 H 252.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#12528F
RGBrgb(18, 82, 143)
HSLhsl(209, 78%, 32%)
HSVhsv(209, 87%, 56%)
CMYKcmyk(87.4%, 42.7%, 0%, 43.9%)
CIE-LABlab(34.28, 4.40, -39.14)
CIE-LCHlch(34.28, 39.39, 276.41°)
OKLaboklab(43.42% -0.0364 -0.1121)
OKLCHoklch(43.42% 0.118 252)
XYZxyz(8.2228, 8.1453, 27.1201)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12528F #8F4F12
analogous
#128F8E #12528F #12148F
triadic
#12528F #8F1252 #528F12
tetradic
#12528F #8E128F #8F4F12 #148F12
square
#12528F #8E128F #8F4F12 #148F12
split-complementary
#12528F #8F1214 #8F8E12
monochromatic
#041422 #0B3359 #12528F #1971C5 #3690E6

Accessibility & contrast

On white

7.99
#12528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#12528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12528F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12528F#FFFFFF#000000##FFFFFF
##12528F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335791
Deuteranopia (green-blind)
#1D4C8E
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #12528f;
/* rgb */ color: rgb(18, 82, 143);
/* oklch */ color: oklch(43.4% 0.118 252.0);
Tailwind
colors: {
  custom: {
    50: '#6882b0',
    500: '#12528f',
    950: '#000000',
  },
}
SCSS
$custom: #12528f;
$custom-light: #6882b0;
$custom-dark: #000000;
JSON
{
  "hex": "#12528f",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 209.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.11788,
    "h": 252
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#12528F
secondary
#C37D3A
accent
#9234F4
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #12528F

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

Preview Lab → · Contrast checker → · Palette generator →

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