#338895#338895

#338895 is a mid, moderate teal. Relative luminance 0.205; OKLCH L 58.1% C 0.082 H 209.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#338895
RGBrgb(51, 136, 149)
HSLhsl(188, 49%, 39%)
HSVhsv(188, 66%, 58%)
CMYKcmyk(65.8%, 8.7%, 0%, 41.6%)
CIE-LABlab(52.38, -21.01, -14.47)
CIE-LCHlch(52.38, 25.51, 214.55°)
OKLaboklab(58.13% -0.0718 -0.0401)
OKLCHoklch(58.13% 0.082 209.2)
XYZxyz(15.5919, 20.4804, 31.5593)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338895 #954033
analogous
#339571 #338895 #335795
triadic
#338895 #953388 #889533
tetradic
#338895 #713395 #954033 #579533
square
#338895 #713395 #954033 #579533
split-complementary
#338895 #953357 #957133
monochromatic
#14353A #235E67 #338895 #46AFC0 #73C3CF

Accessibility & contrast

On white

4.12
#338895 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#338895 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338895
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338895#FFFFFF#000000##000000
##3388951.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8396
Deuteranopia (green-blind)
#6E7895
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338895;
/* rgb */ color: rgb(51, 136, 149);
/* oklch */ color: oklch(58.1% 0.082 209.2);
Tailwind
colors: {
  custom: {
    50: '#77abb4',
    500: '#338895',
    950: '#000000',
  },
}
SCSS
$custom: #338895;
$custom-light: #77abb4;
$custom-dark: #000000;
JSON
{
  "hex": "#338895",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 149
  },
  "hsl": {
    "h": 187.959,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.08224,
    "h": 209.2
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#338895
secondary
#B7766C
accent
#614FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338895

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

Preview Lab → · Contrast checker → · Palette generator →

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