#245142#245142

#245142 is a dark, muted teal. Relative luminance 0.067; OKLCH L 39.8% C 0.056 H 169.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#245142
RGBrgb(36, 81, 66)
HSLhsl(160, 38%, 23%)
HSVhsv(160, 56%, 32%)
CMYKcmyk(55.6%, 0%, 18.5%, 68.2%)
CIE-LABlab(31.00, -19.69, 4.13)
CIE-LCHlch(31.00, 20.12, 168.16°)
OKLaboklab(39.81% -0.0554 0.0106)
OKLCHoklch(39.81% 0.056 169.2)
XYZxyz(4.6529, 6.6529, 6.1921)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245142 #512433
analogous
#24512B #245142 #244951
triadic
#245142 #422451 #514224
tetradic
#245142 #2B2451 #512433 #495124
square
#245142 #2B2451 #512433 #495124
split-complementary
#245142 #512449 #512B24
monochromatic
#091511 #11271F #245142 #377B65 #4AA687

Accessibility & contrast

On white

9.01
#245142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#245142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245142
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245142#FFFFFF#000000##FFFFFF
##2451421.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C41
Deuteranopia (green-blind)
#484743
Tritanopia (blue-blind)
#12514D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #245142;
/* rgb */ color: rgb(36, 81, 66);
/* oklch */ color: oklch(39.8% 0.056 169.2);
Tailwind
colors: {
  custom: {
    50: '#638276',
    500: '#245142',
    950: '#000000',
  },
}
SCSS
$custom: #245142;
$custom-light: #638276;
$custom-dark: #000000;
JSON
{
  "hex": "#245142",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 160,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.0564,
    "h": 169.2
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#245142
secondary
#854C5F
accent
#5980CE
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#050A08
muted
#7A7C7B

Preview Lab

Preview with #245142

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

Preview Lab → · Contrast checker → · Palette generator →

#245142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva