#12505A#12505A

#12505A is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.8% C 0.062 H 210.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#12505A
RGBrgb(18, 80, 90)
HSLhsl(188, 67%, 21%)
HSVhsv(188, 80%, 35%)
CMYKcmyk(80%, 11.1%, 0%, 64.7%)
CIE-LABlab(30.89, -15.22, -11.41)
CIE-LCHlch(30.89, 19.02, 216.86°)
OKLaboklab(39.82% -0.0532 -0.0318)
OKLCHoklch(39.82% 0.062 210.8)
XYZxyz(4.9628, 6.6035, 10.6839)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12505A #5A1C12
analogous
#125A40 #12505A #122C5A
triadic
#12505A #5A1250 #505A12
tetradic
#12505A #40125A #5A1C12 #2C5A12
square
#12505A #40125A #5A1C12 #2C5A12
split-complementary
#12505A #5A122C #5A4012
monochromatic
#05171A #082327 #12505A #1C7D8D #26ABC0

Accessibility & contrast

On white

9.05
#12505A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#12505A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12505A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12505A#FFFFFF#000000##FFFFFF
##12505A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#3E465A
Tritanopia (blue-blind)
#005453
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12505a;
/* rgb */ color: rgb(18, 80, 90);
/* oklch */ color: oklch(39.8% 0.062 210.8);
Tailwind
colors: {
  custom: {
    50: '#5d8188',
    500: '#12505a',
    950: '#000000',
  },
}
SCSS
$custom: #12505a;
$custom-light: #5d8188;
$custom-dark: #000000;
JSON
{
  "hex": "#12505a",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 90
  },
  "hsl": {
    "h": 188.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.06196,
    "h": 210.8
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#12505A
secondary
#934235
accent
#563EEA
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #12505A

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

Preview Lab → · Contrast checker → · Palette generator →

#12505A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva