#398ACD#398ACD

#398ACD is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.5% C 0.128 H 247.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#398ACD
RGBrgb(57, 138, 205)
HSLhsl(207, 60%, 51%)
HSVhsv(207, 72%, 80%)
CMYKcmyk(72.2%, 32.7%, 0%, 19.6%)
CIE-LABlab(55.54, -2.32, -41.65)
CIE-LCHlch(55.54, 41.71, 266.81°)
OKLaboklab(61.48% -0.0503 -0.1181)
OKLCHoklch(61.48% 0.128 247)
XYZxyz(21.7911, 23.4522, 61.1240)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398ACD #CD7C39
analogous
#39CDC6 #398ACD #3940CD
triadic
#398ACD #CD398A #8ACD39
tetradic
#398ACD #C639CD #CD7C39 #40CD39
square
#398ACD #C639CD #CD7C39 #40CD39
split-complementary
#398ACD #CD3940 #CDC639
monochromatic
#1C4A6F #286AA0 #398ACD #6AA7D9 #9BC4E6

Accessibility & contrast

On white

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

On black

5.69
#398ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398ACD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398ACD#FFFFFF#000000##000000
##398ACD1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#009AA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398acd;
/* rgb */ color: rgb(57, 138, 205);
/* oklch */ color: oklch(61.5% 0.128 247.0);
Tailwind
colors: {
  custom: {
    50: '#82abdc',
    500: '#398acd',
    950: '#000000',
  },
}
SCSS
$custom: #398acd;
$custom-light: #82abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#398acd",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 205
  },
  "hsl": {
    "h": 207.162,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.12837,
    "h": 247
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#398ACD
secondary
#D2AE90
accent
#8C45E3
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #398ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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