#1B523E#1B523E

#1B523E is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.067 H 165.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1B523E
RGBrgb(27, 82, 62)
HSLhsl(158, 50%, 21%)
HSVhsv(158, 67%, 32%)
CMYKcmyk(67.1%, 0%, 24.4%, 67.8%)
CIE-LABlab(30.91, -23.53, 6.49)
CIE-LCHlch(30.91, 24.40, 164.58°)
OKLaboklab(39.61% -0.0652 0.0166)
OKLCHoklch(39.61% 0.067 165.7)
XYZxyz(4.3383, 6.6150, 5.6047)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B523E #521B2F
analogous
#1B5223 #1B523E #1B4B52
triadic
#1B523E #3E1B52 #523E1B
tetradic
#1B523E #231B52 #521B2F #4B521B
square
#1B523E #231B52 #521B2F #4B521B
split-complementary
#1B523E #521B4B #52231B
monochromatic
#081711 #0C241B #1B523E #2A8061 #39AE84

Accessibility & contrast

On white

9.04
#1B523E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1B523E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B523E#FFFFFF#000000##FFFFFF
##1B523E1.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)
#504C3D
Deuteranopia (green-blind)
#48463F
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b523e;
/* rgb */ color: rgb(27, 82, 62);
/* oklch */ color: oklch(39.6% 0.067 165.7);
Tailwind
colors: {
  custom: {
    50: '#5e8373',
    500: '#1b523e',
    950: '#000000',
  },
}
SCSS
$custom: #1b523e;
$custom-light: #5e8373;
$custom-dark: #000000;
JSON
{
  "hex": "#1b523e",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 62
  },
  "hsl": {
    "h": 158.182,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39611,
    "c": 0.06729,
    "h": 165.7
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#1B523E
secondary
#88415B
accent
#4E81DA
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#050A08
muted
#797C7B

Preview Lab

Preview with #1B523E

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

Preview Lab → · Contrast checker → · Palette generator →

#1B523E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva