#2F5C99#2F5C99

#2F5C99 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.111 H 256.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2F5C99
RGBrgb(47, 92, 153)
HSLhsl(215, 53%, 39%)
HSVhsv(215, 69%, 60%)
CMYKcmyk(69.3%, 39.9%, 0%, 40%)
CIE-LABlab(38.82, 5.47, -37.89)
CIE-LCHlch(38.82, 38.29, 278.21°)
OKLaboklab(47.4% -0.0256 -0.1079)
OKLCHoklch(47.4% 0.111 256.7)
XYZxyz(10.7471, 10.5574, 31.6022)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C99 #996C2F
analogous
#2F9199 #2F5C99 #372F99
triadic
#2F5C99 #992F5C #5C992F
tetradic
#2F5C99 #992F91 #996C2F #2F9937
square
#2F5C99 #992F91 #996C2F #2F9937
split-complementary
#2F5C99 #99372F #91992F
monochromatic
#12243B #21406A #2F5C99 #4179C5 #6F9AD3

Accessibility & contrast

On white

6.75
#2F5C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F5C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5C99
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C99#FFFFFF#000000##FFFFFF
##2F5C991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619B
Deuteranopia (green-blind)
#305798
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5c99;
/* rgb */ color: rgb(47, 92, 153);
/* oklch */ color: oklch(47.4% 0.111 256.7);
Tailwind
colors: {
  custom: {
    50: '#7489b7',
    500: '#2f5c99',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c99;
$custom-light: #7489b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c99",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 214.528,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.11091,
    "h": 256.7
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#2F5C99
secondary
#BA9869
accent
#9F4BDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5C99

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

Preview Lab → · Contrast checker → · Palette generator →

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