#2F5D97#2F5D97

#2F5D97 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.107 H 255.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2F5D97
RGBrgb(47, 93, 151)
HSLhsl(213, 53%, 39%)
HSVhsv(213, 69%, 59%)
CMYKcmyk(68.9%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.01, 4.08, -36.39)
CIE-LCHlch(39.01, 36.62, 276.40°)
OKLaboklab(47.51% -0.0271 -0.1035)
OKLCHoklch(47.51% 0.107 255.3)
XYZxyz(10.6705, 10.6663, 30.7686)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D97 #97692F
analogous
#2F9197 #2F5D97 #352F97
triadic
#2F5D97 #972F5D #5D972F
tetradic
#2F5D97 #972F91 #97692F #2F9735
square
#2F5D97 #972F91 #97692F #2F9735
split-complementary
#2F5D97 #97352F #91972F
monochromatic
#12243A #204068 #2F5D97 #407AC3 #6E9AD2

Accessibility & contrast

On white

6.70
#2F5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2F5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D97
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D97#FFFFFF#000000##FFFFFF
##2F5D971.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#345796
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5d97;
/* rgb */ color: rgb(47, 93, 151);
/* oklch */ color: oklch(47.5% 0.107 255.3);
Tailwind
colors: {
  custom: {
    50: '#738ab6',
    500: '#2f5d97',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d97;
$custom-light: #738ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d97",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 213.462,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.10701,
    "h": 255.3
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#2F5D97
secondary
#B99668
accent
#9C4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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