#2F5C95#2F5C95

#2F5C95 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.105 H 255.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5C95
RGBrgb(47, 92, 149)
HSLhsl(214, 52%, 38%)
HSVhsv(214, 68%, 58%)
CMYKcmyk(68.5%, 38.3%, 0%, 41.6%)
CIE-LABlab(38.60, 3.98, -35.85)
CIE-LCHlch(38.60, 36.07, 276.33°)
OKLaboklab(47.15% -0.0266 -0.1019)
OKLCHoklch(47.15% 0.105 255.4)
XYZxyz(10.4223, 10.4275, 29.8914)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C95 #95682F
analogous
#2F8F95 #2F5C95 #352F95
triadic
#2F5C95 #952F5C #5C952F
tetradic
#2F5C95 #952F8F #95682F #2F9535
square
#2F5C95 #952F8F #95682F #2F9535
split-complementary
#2F5C95 #95352F #8F952F
monochromatic
#122338 #203F66 #2F5C95 #3F79C2 #6D99D1

Accessibility & contrast

On white

6.81
#2F5C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2F5C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5C95
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C95#FFFFFF#000000##FFFFFF
##2F5C951.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5c95;
/* rgb */ color: rgb(47, 92, 149);
/* oklch */ color: oklch(47.1% 0.105 255.4);
Tailwind
colors: {
  custom: {
    50: '#7389b4',
    500: '#2f5c95',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c95;
$custom-light: #7389b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c95",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 213.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.10533,
    "h": 255.4
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#2F5C95
secondary
#B89567
accent
#9C4CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5C95

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

Preview Lab → · Contrast checker → · Palette generator →

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