#338790#338790

#338790 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.7% C 0.080 H 205.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#338790
RGBrgb(51, 135, 144)
HSLhsl(186, 48%, 38%)
HSVhsv(186, 65%, 56%)
CMYKcmyk(64.6%, 6.2%, 0%, 43.5%)
CIE-LABlab(51.89, -22.05, -12.30)
CIE-LCHlch(51.89, 25.25, 209.16°)
OKLaboklab(57.68% -0.0728 -0.0341)
OKLCHoklch(57.68% 0.08 205.1)
XYZxyz(15.0611, 20.0438, 29.4552)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338790 #903C33
analogous
#33906A #338790 #335990
triadic
#338790 #903387 #879033
tetradic
#338790 #6A3390 #903C33 #599033
square
#338790 #6A3390 #903C33 #599033
split-complementary
#338790 #903359 #906A33
monochromatic
#133236 #235D63 #338790 #44B1BD #71C4CD

Accessibility & contrast

On white

4.19
#338790 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#338790 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338790
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338790#FFFFFF#000000##000000
##3387901.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8291
Deuteranopia (green-blind)
#6E7790
Tritanopia (blue-blind)
#008C8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338790;
/* rgb */ color: rgb(51, 135, 144);
/* oklch */ color: oklch(57.7% 0.080 205.1);
Tailwind
colors: {
  custom: {
    50: '#76aab0',
    500: '#338790',
    950: '#000000',
  },
}
SCSS
$custom: #338790;
$custom-light: #76aab0;
$custom-dark: #000000;
JSON
{
  "hex": "#338790",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 144
  },
  "hsl": {
    "h": 185.806,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.08044,
    "h": 205.1
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#338790
secondary
#B5716A
accent
#5E51D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338790

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

Preview Lab → · Contrast checker → · Palette generator →

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