#398ACC#398ACC

#398ACC is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.4% C 0.127 H 246.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#398ACC
RGBrgb(57, 138, 204)
HSLhsl(207, 59%, 51%)
HSVhsv(207, 72%, 80%)
CMYKcmyk(72.1%, 32.4%, 0%, 20%)
CIE-LABlab(55.49, -2.67, -41.16)
CIE-LCHlch(55.49, 41.25, 266.28°)
OKLaboklab(61.42% -0.0505 -0.1167)
OKLCHoklch(61.42% 0.127 246.6)
XYZxyz(21.6708, 23.4040, 60.4904)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398ACC #CC7B39
analogous
#39CCC4 #398ACC #3940CC
triadic
#398ACC #CC398A #8ACC39
tetradic
#398ACC #C439CC #CC7B39 #40CC39
square
#398ACC #C439CC #CC7B39 #40CC39
split-complementary
#398ACC #CC3940 #CCC439
monochromatic
#1C496E #296A9F #398ACC #6AA7D9 #9AC4E5

Accessibility & contrast

On white

3.70
#398ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#398ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398ACC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398ACC#FFFFFF#000000##000000
##398ACC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398acc;
/* rgb */ color: rgb(57, 138, 204);
/* oklch */ color: oklch(61.4% 0.127 246.6);
Tailwind
colors: {
  custom: {
    50: '#81abdc',
    500: '#398acc',
    950: '#000000',
  },
}
SCSS
$custom: #398acc;
$custom-light: #81abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#398acc",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 204
  },
  "hsl": {
    "h": 206.939,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61424,
    "c": 0.12717,
    "h": 246.6
  },
  "luminance": 0.23406
}

Semantic roles & 50–950 ramp

primary
#398ACC
secondary
#D1AD90
accent
#8C46E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #398ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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