#338FBE#338FBE

#338FBE is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.7% C 0.111 H 235.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#338FBE
RGBrgb(51, 143, 190)
HSLhsl(200, 58%, 47%)
HSVhsv(200, 73%, 75%)
CMYKcmyk(73.2%, 24.7%, 0%, 25.5%)
CIE-LABlab(56.15, -11.25, -32.20)
CIE-LCHlch(56.15, 34.11, 250.74°)
OKLaboklab(61.69% -0.0631 -0.0907)
OKLCHoklch(61.69% 0.111 235.2)
XYZxyz(20.4783, 24.0641, 52.2708)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338FBE #BE6233
analogous
#33BEA8 #338FBE #3349BE
triadic
#338FBE #BE338F #8FBE33
tetradic
#338FBE #A833BE #BE6233 #49BE33
square
#338FBE #A833BE #BE6233 #49BE33
split-complementary
#338FBE #BE3349 #BEA833
monochromatic
#19465E #266B8E #338FBE #5BABD3 #8BC3E0

Accessibility & contrast

On white

3.61
#338FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#338FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338FBE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338FBE#FFFFFF#000000##000000
##338FBE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC0
Deuteranopia (green-blind)
#6581BD
Tritanopia (blue-blind)
#009B9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #338fbe;
/* rgb */ color: rgb(51, 143, 190);
/* oklch */ color: oklch(61.7% 0.111 235.2);
Tailwind
colors: {
  custom: {
    50: '#7dafd1',
    500: '#338fbe',
    950: '#000000',
  },
}
SCSS
$custom: #338fbe;
$custom-light: #7dafd1;
$custom-dark: #000000;
JSON
{
  "hex": "#338fbe",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 190
  },
  "hsl": {
    "h": 200.288,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61691,
    "c": 0.1105,
    "h": 235.2
  },
  "luminance": 0.24066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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