#3F7FBA#3F7FBA

#3F7FBA is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.1% C 0.112 H 248.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3F7FBA
RGBrgb(63, 127, 186)
HSLhsl(209, 49%, 49%)
HSVhsv(209, 66%, 73%)
CMYKcmyk(66.1%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.59, -1.56, -37.04)
CIE-LCHlch(51.59, 37.07, 267.59°)
OKLaboklab(58.12% -0.0409 -0.1047)
OKLCHoklch(58.12% 0.112 248.7)
XYZxyz(18.4989, 19.7788, 49.2876)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7FBA #BA7A3F
analogous
#3FBAB8 #3F7FBA #3F42BA
triadic
#3F7FBA #BA3F7F #7FBA3F
tetradic
#3F7FBA #B83FBA #BA7A3F #42BA3F
square
#3F7FBA #B83FBA #BA7A3F #42BA3F
split-complementary
#3F7FBA #BA3F42 #BAB83F
monochromatic
#20415F #30608C #3F7FBA #6A9DCC #97BBDC

Accessibility & contrast

On white

4.24
#3F7FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3F7FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7FBA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7FBA#FFFFFF#000000##000000
##3F7FBA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6581BD
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f7fba;
/* rgb */ color: rgb(63, 127, 186);
/* oklch */ color: oklch(58.1% 0.112 248.7);
Tailwind
colors: {
  custom: {
    50: '#81a3cf',
    500: '#3f7fba',
    950: '#000000',
  },
}
SCSS
$custom: #3f7fba;
$custom-light: #81a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7fba",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 208.78,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58124,
    "c": 0.11246,
    "h": 248.7
  },
  "luminance": 0.19781
}

Semantic roles & 50–950 ramp

primary
#3F7FBA
secondary
#C8A98D
accent
#914FD9
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3F7FBA

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

Preview Lab → · Contrast checker → · Palette generator →

#3F7FBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva