#338EBE#338EBE

#338EBE is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.5% C 0.111 H 236.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#338EBE
RGBrgb(51, 142, 190)
HSLhsl(201, 58%, 47%)
HSVhsv(201, 73%, 75%)
CMYKcmyk(73.2%, 25.3%, 0%, 25.5%)
CIE-LABlab(55.85, -10.69, -32.67)
CIE-LCHlch(55.85, 34.37, 251.88°)
OKLaboklab(61.45% -0.0622 -0.0921)
OKLCHoklch(61.45% 0.111 236)
XYZxyz(20.3288, 23.7652, 52.2210)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EBE #BE6333
analogous
#33BEA8 #338EBE #3349BE
triadic
#338EBE #BE338E #8EBE33
tetradic
#338EBE #A833BE #BE6333 #49BE33
square
#338EBE #A833BE #BE6333 #49BE33
split-complementary
#338EBE #BE3349 #BEA833
monochromatic
#19465E #266A8E #338EBE #5BAAD3 #8BC3E0

Accessibility & contrast

On white

3.65
#338EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#338EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EBE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EBE#FFFFFF#000000##000000
##338EBE1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DC0
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#009A9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #338ebe;
/* rgb */ color: rgb(51, 142, 190);
/* oklch */ color: oklch(61.5% 0.111 236.0);
Tailwind
colors: {
  custom: {
    50: '#7dafd1',
    500: '#338ebe',
    950: '#000000',
  },
}
SCSS
$custom: #338ebe;
$custom-light: #7dafd1;
$custom-dark: #000000;
JSON
{
  "hex": "#338ebe",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 190
  },
  "hsl": {
    "h": 200.719,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.11107,
    "h": 236
  },
  "luminance": 0.23768
}

Semantic roles & 50–950 ramp

primary
#338EBE
secondary
#CA9B83
accent
#7C47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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