#398AC0#398AC0

#398AC0 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.8% C 0.113 H 241.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#398AC0
RGBrgb(57, 138, 192)
HSLhsl(204, 54%, 49%)
HSVhsv(204, 70%, 75%)
CMYKcmyk(70.3%, 28.1%, 0%, 24.7%)
CIE-LABlab(54.92, -6.87, -35.25)
CIE-LCHlch(54.92, 35.92, 258.97°)
OKLaboklab(60.79% -0.0542 -0.0995)
OKLCHoklch(60.79% 0.113 241.4)
XYZxyz(20.2866, 22.8504, 53.2004)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AC0 #C06F39
analogous
#39C0B3 #398AC0 #3947C0
triadic
#398AC0 #C0398A #8AC039
tetradic
#398AC0 #B339C0 #C06F39 #47C039
square
#398AC0 #B339C0 #C06F39 #47C039
split-complementary
#398AC0 #C03947 #C0B339
monochromatic
#1D4662 #2B6891 #398AC0 #65A6D1 #94C1DF

Accessibility & contrast

On white

3.77
#398AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#398AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AC0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AC0#FFFFFF#000000##000000
##398AC01.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC2
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#00979D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398ac0;
/* rgb */ color: rgb(57, 138, 192);
/* oklch */ color: oklch(60.8% 0.113 241.4);
Tailwind
colors: {
  custom: {
    50: '#7facd3',
    500: '#398ac0',
    950: '#000000',
  },
}
SCSS
$custom: #398ac0;
$custom-light: #7facd3;
$custom-dark: #000000;
JSON
{
  "hex": "#398ac0",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 192
  },
  "hsl": {
    "h": 204,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.11331,
    "h": 241.4
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

primary
#398AC0
secondary
#CBA48A
accent
#854ADE
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #398AC0

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

Preview Lab → · Contrast checker → · Palette generator →

#398AC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva