#338291#338291

#338291 is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.5% C 0.079 H 212.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338291
RGBrgb(51, 130, 145)
HSLhsl(190, 48%, 38%)
HSVhsv(190, 65%, 57%)
CMYKcmyk(64.8%, 10.3%, 0%, 43.1%)
CIE-LABlab(50.35, -19.09, -15.21)
CIE-LCHlch(50.35, 24.41, 218.56°)
OKLaboklab(56.45% -0.0669 -0.0422)
OKLCHoklch(56.45% 0.079 212.3)
XYZxyz(14.4566, 18.7119, 29.6324)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338291 #914233
analogous
#339171 #338291 #335391
triadic
#338291 #913382 #829133
tetradic
#338291 #713391 #914233 #539133
square
#338291 #713391 #914233 #539133
split-complementary
#338291 #913353 #917133
monochromatic
#133136 #235964 #338291 #44AABD #71BECD

Accessibility & contrast

On white

4.43
#338291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338291
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338291#FFFFFF#000000##000000
##3382911.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#767E92
Deuteranopia (green-blind)
#687391
Tritanopia (blue-blind)
#008887
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338291;
/* rgb */ color: rgb(51, 130, 145);
/* oklch */ color: oklch(56.5% 0.079 212.3);
Tailwind
colors: {
  custom: {
    50: '#76a6b1',
    500: '#338291',
    950: '#000000',
  },
}
SCSS
$custom: #338291;
$custom-light: #76a6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#338291",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 145
  },
  "hsl": {
    "h": 189.574,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.07909,
    "h": 212.3
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#338291
secondary
#B5776B
accent
#6650D8
background
#F7FAFA
surface
#EEF4F5
border
#C9CECF
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #338291

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

Preview Lab → · Contrast checker → · Palette generator →

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