#338297#338297

#338297 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.7% C 0.082 H 218.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#338297
RGBrgb(51, 130, 151)
HSLhsl(193, 50%, 40%)
HSVhsv(193, 66%, 59%)
CMYKcmyk(66.2%, 13.9%, 0%, 40.8%)
CIE-LABlab(50.57, -17.16, -18.38)
CIE-LCHlch(50.57, 25.14, 226.96°)
OKLaboklab(56.7% -0.0644 -0.0512)
OKLCHoklch(56.7% 0.082 218.5)
XYZxyz(14.9315, 18.9018, 32.1337)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338297 #974833
analogous
#33977A #338297 #335097
triadic
#338297 #973382 #829733
tetradic
#338297 #7A3397 #974833 #509733
square
#338297 #7A3397 #974833 #509733
split-complementary
#338297 #973350 #977A33
monochromatic
#14333C #245B69 #338297 #47A7C1 #74BDD0

Accessibility & contrast

On white

4.39
#338297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#338297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338297
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338297#FFFFFF#000000##000000
##3382971.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#757E98
Deuteranopia (green-blind)
#667497
Tritanopia (blue-blind)
#008989
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338297;
/* rgb */ color: rgb(51, 130, 151);
/* oklch */ color: oklch(56.7% 0.082 218.5);
Tailwind
colors: {
  custom: {
    50: '#77a6b5',
    500: '#338297',
    950: '#000000',
  },
}
SCSS
$custom: #338297;
$custom-light: #77a6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#338297",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 151
  },
  "hsl": {
    "h": 192.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.08222,
    "h": 218.5
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#338297
secondary
#B87D6D
accent
#6C4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #338297

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

Preview Lab → · Contrast checker → · Palette generator →

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