#2F6397#2F6397

#2F6397 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.9% C 0.101 H 250.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6397
RGBrgb(47, 99, 151)
HSLhsl(210, 53%, 39%)
HSVhsv(210, 69%, 59%)
CMYKcmyk(68.9%, 34.4%, 0%, 40.8%)
CIE-LABlab(40.83, 0.29, -33.51)
CIE-LCHlch(40.83, 33.51, 270.49°)
OKLaboklab(48.93% -0.0334 -0.095)
OKLCHoklch(48.93% 0.101 250.6)
XYZxyz(11.2180, 11.7612, 30.9511)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6397 #97632F
analogous
#2F9797 #2F6397 #2F2F97
triadic
#2F6397 #972F63 #63972F
tetradic
#2F6397 #972F97 #97632F #2F972F
square
#2F6397 #972F97 #97632F #2F972F
split-complementary
#2F6397 #972F2F #97972F
monochromatic
#12263A #204468 #2F6397 #4082C3 #6EA0D2

Accessibility & contrast

On white

6.26
#2F6397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2F6397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6397
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6397#FFFFFF#000000##FFFFFF
##2F63971.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6397;
/* rgb */ color: rgb(47, 99, 151);
/* oklch */ color: oklch(48.9% 0.101 250.6);
Tailwind
colors: {
  custom: {
    50: '#748fb6',
    500: '#2f6397',
    950: '#000000',
  },
}
SCSS
$custom: #2f6397;
$custom-light: #748fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6397",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 210,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.1007,
    "h": 250.6
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#2F6397
secondary
#B99168
accent
#944CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6397

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

Preview Lab → · Contrast checker → · Palette generator →

#2F6397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva