#338CA9#338CA9

#338CA9 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.093 H 223.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#338CA9
RGBrgb(51, 140, 169)
HSLhsl(195, 54%, 43%)
HSVhsv(195, 70%, 66%)
CMYKcmyk(69.8%, 17.2%, 0%, 33.7%)
CIE-LABlab(54.37, -16.70, -22.98)
CIE-LCHlch(54.37, 28.40, 233.99°)
OKLaboklab(59.98% -0.0678 -0.0642)
OKLCHoklch(59.98% 0.093 223.4)
XYZxyz(17.9018, 22.3225, 40.8936)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CA9 #A95033
analogous
#33A98B #338CA9 #3351A9
triadic
#338CA9 #A9338C #8CA933
tetradic
#338CA9 #8B33A9 #A95033 #51A933
square
#338CA9 #8B33A9 #A95033 #51A933
split-complementary
#338CA9 #A93351 #A98B33
monochromatic
#173E4B #25657A #338CA9 #4FACCA #7EC2D8

Accessibility & contrast

On white

3.84
#338CA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#338CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338CA9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338CA9#FFFFFF#000000##000000
##338CA91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AB
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338ca9;
/* rgb */ color: rgb(51, 140, 169);
/* oklch */ color: oklch(60.0% 0.093 223.4);
Tailwind
colors: {
  custom: {
    50: '#7aadc2',
    500: '#338ca9',
    950: '#000000',
  },
}
SCSS
$custom: #338ca9;
$custom-light: #7aadc2;
$custom-dark: #000000;
JSON
{
  "hex": "#338ca9",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 169
  },
  "hsl": {
    "h": 194.746,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.0934,
    "h": 223.4
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#338CA9
secondary
#C18977
accent
#6F4BDD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338CA9

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

Preview Lab → · Contrast checker → · Palette generator →

#338CA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva