#398FAF#398FAF

#398FAF is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.094 H 226.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#398FAF
RGBrgb(57, 143, 175)
HSLhsl(196, 51%, 45%)
HSVhsv(196, 67%, 69%)
CMYKcmyk(67.4%, 18.3%, 0%, 31.4%)
CIE-LABlab(55.69, -15.42, -24.36)
CIE-LCHlch(55.69, 28.83, 237.67°)
OKLaboklab(61.17% -0.0653 -0.0681)
OKLCHoklch(61.17% 0.094 226.2)
XYZxyz(19.2446, 23.6078, 44.0917)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FAF #AF5939
analogous
#39AF94 #398FAF #3954AF
triadic
#398FAF #AF398F #8FAF39
tetradic
#398FAF #9439AF #AF5939 #54AF39
square
#398FAF #9439AF #AF5939 #54AF39
split-complementary
#398FAF #AF3954 #AF9439
monochromatic
#1B4453 #2A6981 #398FAF #5BACCA #8AC3D9

Accessibility & contrast

On white

3.67
#398FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#398FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FAF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FAF#FFFFFF#000000##000000
##398FAF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8CB1
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398faf;
/* rgb */ color: rgb(57, 143, 175);
/* oklch */ color: oklch(61.2% 0.094 226.2);
Tailwind
colors: {
  custom: {
    50: '#7dafc7',
    500: '#398faf',
    950: '#000000',
  },
}
SCSS
$custom: #398faf;
$custom-light: #7dafc7;
$custom-dark: #000000;
JSON
{
  "hex": "#398faf",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 175
  },
  "hsl": {
    "h": 196.271,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.09435,
    "h": 226.2
  },
  "luminance": 0.2361
}

Semantic roles & 50–950 ramp

primary
#398FAF
secondary
#C39381
accent
#744DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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