#398FAC#398FAC

#398FAC is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.0% C 0.092 H 223.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#398FAC
RGBrgb(57, 143, 172)
HSLhsl(195, 50%, 45%)
HSVhsv(195, 67%, 67%)
CMYKcmyk(66.9%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.57, -16.40, -22.82)
CIE-LCHlch(55.57, 28.10, 234.30°)
OKLaboklab(61.03% -0.0665 -0.0637)
OKLCHoklch(61.03% 0.092 223.8)
XYZxyz(18.9532, 23.4913, 42.5571)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FAC #AC5639
analogous
#39AC8F #398FAC #3956AC
triadic
#398FAC #AC398F #8FAC39
tetradic
#398FAC #8F39AC #AC5639 #56AC39
square
#398FAC #8F39AC #AC5639 #56AC39
split-complementary
#398FAC #AC3956 #AC8F39
monochromatic
#1B4350 #2A697E #398FAC #5AACC8 #88C3D8

Accessibility & contrast

On white

3.69
#398FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#398FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FAC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FAC#FFFFFF#000000##000000
##398FAC1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8CAE
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398fac;
/* rgb */ color: rgb(57, 143, 172);
/* oklch */ color: oklch(61.0% 0.092 223.8);
Tailwind
colors: {
  custom: {
    50: '#7db0c4',
    500: '#398fac',
    950: '#000000',
  },
}
SCSS
$custom: #398fac;
$custom-light: #7db0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#398fac",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 195.13,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.09208,
    "h": 223.8
  },
  "luminance": 0.23493
}

Semantic roles & 50–950 ramp

primary
#398FAC
secondary
#C2907F
accent
#714EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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