#338BBE#338BBE

#338BBE is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.7% C 0.113 H 238.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#338BBE
RGBrgb(51, 139, 190)
HSLhsl(202, 58%, 47%)
HSVhsv(202, 73%, 75%)
CMYKcmyk(73.2%, 26.8%, 0%, 25.5%)
CIE-LABlab(54.95, -8.99, -34.07)
CIE-LCHlch(54.95, 35.24, 255.22°)
OKLaboklab(60.74% -0.0592 -0.0961)
OKLCHoklch(60.74% 0.113 238.4)
XYZxyz(19.8885, 22.8845, 52.0742)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BBE #BE6633
analogous
#33BEAB #338BBE #3346BE
triadic
#338BBE #BE338B #8BBE33
tetradic
#338BBE #AB33BE #BE6633 #46BE33
square
#338BBE #AB33BE #BE6633 #46BE33
split-complementary
#338BBE #BE3346 #BEAB33
monochromatic
#19445E #26688E #338BBE #5BA7D3 #8BC1E0

Accessibility & contrast

On white

3.77
#338BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#338BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BBE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BBE#FFFFFF#000000##000000
##338BBE1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#00989D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338bbe;
/* rgb */ color: rgb(51, 139, 190);
/* oklch */ color: oklch(60.7% 0.113 238.4);
Tailwind
colors: {
  custom: {
    50: '#7dacd2',
    500: '#338bbe',
    950: '#000000',
  },
}
SCSS
$custom: #338bbe;
$custom-light: #7dacd2;
$custom-dark: #000000;
JSON
{
  "hex": "#338bbe",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 190
  },
  "hsl": {
    "h": 202.014,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.1129,
    "h": 238.4
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#338BBE
secondary
#CA9D83
accent
#7F47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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