#12505B#12505B

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

Color values

HEX#12505B
RGBrgb(18, 80, 91)
HSLhsl(189, 67%, 21%)
HSVhsv(189, 80%, 36%)
CMYKcmyk(80.2%, 12.1%, 0%, 64.3%)
CIE-LABlab(30.93, -14.85, -11.98)
CIE-LCHlch(30.93, 19.09, 218.89°)
OKLaboklab(39.87% -0.0527 -0.0334)
OKLCHoklch(39.87% 0.062 212.3)
XYZxyz(5.0056, 6.6206, 10.9096)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12505B #5B1D12
analogous
#125B42 #12505B #122C5B
triadic
#12505B #5B1250 #505B12
tetradic
#12505B #42125B #5B1D12 #2C5B12
square
#12505B #42125B #5B1D12 #2C5B12
split-complementary
#12505B #5B122C #5B4212
monochromatic
#05161A #082328 #12505B #1C7D8E #26AAC1

Accessibility & contrast

On white

9.04
#12505B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12505B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12505B#FFFFFF#000000##FFFFFF
##12505B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12505b;
/* rgb */ color: rgb(18, 80, 91);
/* oklch */ color: oklch(39.9% 0.062 212.3);
Tailwind
colors: {
  custom: {
    50: '#5d8189',
    500: '#12505b',
    950: '#000000',
  },
}
SCSS
$custom: #12505b;
$custom-light: #5d8189;
$custom-dark: #000000;
JSON
{
  "hex": "#12505b",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 91
  },
  "hsl": {
    "h": 189.041,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.06241,
    "h": 212.3
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#12505B
secondary
#934435
accent
#583EEA
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #12505B

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

Preview Lab → · Contrast checker → · Palette generator →

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