#338ABA#338ABA

#338ABA is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.3% C 0.109 H 237.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#338ABA
RGBrgb(51, 138, 186)
HSLhsl(201, 57%, 46%)
HSVhsv(201, 73%, 73%)
CMYKcmyk(72.6%, 25.8%, 0%, 27.1%)
CIE-LABlab(54.47, -9.81, -32.54)
CIE-LCHlch(54.47, 33.99, 253.22°)
OKLaboklab(60.3% -0.0596 -0.0917)
OKLCHoklch(60.3% 0.109 237)
XYZxyz(19.3132, 22.4237, 49.7552)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338ABA #BA6333
analogous
#33BAA7 #338ABA #3347BA
triadic
#338ABA #BA338A #8ABA33
tetradic
#338ABA #A733BA #BA6333 #47BA33
square
#338ABA #A733BA #BA6333 #47BA33
split-complementary
#338ABA #BA3347 #BAA733
monochromatic
#19435A #26668A #338ABA #59A7D1 #89C0DF

Accessibility & contrast

On white

3.83
#338ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#338ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338ABA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338ABA#FFFFFF#000000##000000
##338ABA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABC
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338aba;
/* rgb */ color: rgb(51, 138, 186);
/* oklch */ color: oklch(60.3% 0.109 237.0);
Tailwind
colors: {
  custom: {
    50: '#7caccf',
    500: '#338aba',
    950: '#000000',
  },
}
SCSS
$custom: #338aba;
$custom-light: #7caccf;
$custom-dark: #000000;
JSON
{
  "hex": "#338aba",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 201.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.10936,
    "h": 237
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#338ABA
secondary
#C99A80
accent
#7E48E0
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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