#12526F#12526F

#12526F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.4% C 0.078 H 233.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#12526F
RGBrgb(18, 82, 111)
HSLhsl(199, 72%, 25%)
HSVhsv(199, 84%, 44%)
CMYKcmyk(83.8%, 26.1%, 0%, 56.5%)
CIE-LABlab(32.50, -8.50, -22.19)
CIE-LCHlch(32.50, 23.76, 249.04°)
OKLaboklab(41.43% -0.0464 -0.0626)
OKLCHoklch(41.43% 0.078 233.5)
XYZxyz(6.1348, 7.3101, 16.1235)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12526F #6F2F12
analogous
#126F5E #12526F #12236F
triadic
#12526F #6F1252 #526F12
tetradic
#12526F #5E126F #6F2F12 #236F12
square
#12526F #5E126F #6F2F12 #236F12
split-complementary
#12526F #6F1223 #6F5E12
monochromatic
#04131A #092B3A #12526F #1B79A4 #23A0D8

Accessibility & contrast

On white

8.53
#12526F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#12526F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12526F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12526F#FFFFFF#000000##FFFFFF
##12526F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#005A5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12526f;
/* rgb */ color: rgb(18, 82, 111);
/* oklch */ color: oklch(41.4% 0.078 233.5);
Tailwind
colors: {
  custom: {
    50: '#618298',
    500: '#12526f',
    950: '#000000',
  },
}
SCSS
$custom: #12526f;
$custom-light: #618298;
$custom-dark: #000000;
JSON
{
  "hex": "#12526f",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 111
  },
  "hsl": {
    "h": 198.71,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.07788,
    "h": 233.5
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#12526F
secondary
#A65937
accent
#7239EF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #12526F

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

Preview Lab → · Contrast checker → · Palette generator →

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