#2F5D93#2F5D93

#2F5D93 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.3% C 0.101 H 253.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2F5D93
RGBrgb(47, 93, 147)
HSLhsl(212, 52%, 38%)
HSVhsv(212, 68%, 58%)
CMYKcmyk(68%, 36.7%, 0%, 42.4%)
CIE-LABlab(38.79, 2.60, -34.34)
CIE-LCHlch(38.79, 34.44, 274.33°)
OKLaboklab(47.26% -0.0282 -0.0975)
OKLCHoklch(47.26% 0.101 253.9)
XYZxyz(10.3512, 10.5386, 29.0867)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D93 #93652F
analogous
#2F8F93 #2F5D93 #332F93
triadic
#2F5D93 #932F5D #5D932F
tetradic
#2F5D93 #932F8F #93652F #2F9333
square
#2F5D93 #932F8F #93652F #2F9333
split-complementary
#2F5D93 #93332F #8F932F
monochromatic
#112236 #204065 #2F5D93 #3E7AC1 #6C9AD0

Accessibility & contrast

On white

6.76
#2F5D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5D93
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D93#FFFFFF#000000##FFFFFF
##2F5D931.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456195
Deuteranopia (green-blind)
#375792
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5d93;
/* rgb */ color: rgb(47, 93, 147);
/* oklch */ color: oklch(47.3% 0.101 253.9);
Tailwind
colors: {
  custom: {
    50: '#738ab3',
    500: '#2f5d93',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d93;
$custom-light: #738ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d93",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 147
  },
  "hsl": {
    "h": 212.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47264,
    "c": 0.10148,
    "h": 253.9
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#2F5D93
secondary
#B79266
accent
#9A4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D93

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

Preview Lab → · Contrast checker → · Palette generator →

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