#398ABF#398ABF

#398ABF is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.7% C 0.112 H 240.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#398ABF
RGBrgb(57, 138, 191)
HSLhsl(204, 54%, 49%)
HSVhsv(204, 70%, 75%)
CMYKcmyk(70.2%, 27.7%, 0%, 25.1%)
CIE-LABlab(54.87, -7.22, -34.76)
CIE-LCHlch(54.87, 35.50, 258.27°)
OKLaboklab(60.74% -0.0545 -0.0981)
OKLCHoklch(60.74% 0.112 240.9)
XYZxyz(20.1762, 22.8062, 52.6188)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398ABF #BF6E39
analogous
#39BFB1 #398ABF #3947BF
triadic
#398ABF #BF398A #8ABF39
tetradic
#398ABF #B139BF #BF6E39 #47BF39
square
#398ABF #B139BF #BF6E39 #47BF39
split-complementary
#398ABF #BF3947 #BFB139
monochromatic
#1D4661 #2B6890 #398ABF #64A6D1 #93C1DF

Accessibility & contrast

On white

3.78
#398ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#398ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398ABF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398ABF#FFFFFF#000000##000000
##398ABF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC1
Deuteranopia (green-blind)
#5F7EBE
Tritanopia (blue-blind)
#00979C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398abf;
/* rgb */ color: rgb(57, 138, 191);
/* oklch */ color: oklch(60.7% 0.112 240.9);
Tailwind
colors: {
  custom: {
    50: '#7facd2',
    500: '#398abf',
    950: '#000000',
  },
}
SCSS
$custom: #398abf;
$custom-light: #7facd2;
$custom-dark: #000000;
JSON
{
  "hex": "#398abf",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 191
  },
  "hsl": {
    "h": 203.731,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.11221,
    "h": 240.9
  },
  "luminance": 0.22808
}

Semantic roles & 50–950 ramp

primary
#398ABF
secondary
#CAA38A
accent
#854ADD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #398ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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