#2F5A95#2F5A95

#2F5A95 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.7% C 0.108 H 256.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2F5A95
RGBrgb(47, 90, 149)
HSLhsl(215, 52%, 38%)
HSVhsv(215, 68%, 58%)
CMYKcmyk(68.5%, 39.6%, 0%, 41.6%)
CIE-LABlab(38.00, 5.26, -36.81)
CIE-LCHlch(38.00, 37.18, 278.14°)
OKLaboklab(46.68% -0.0245 -0.1047)
OKLCHoklch(46.68% 0.108 256.8)
XYZxyz(10.2513, 10.0856, 29.8344)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A95 #956A2F
analogous
#2F8D95 #2F5A95 #372F95
triadic
#2F5A95 #952F5A #5A952F
tetradic
#2F5A95 #952F8D #956A2F #2F9537
square
#2F5A95 #952F8D #956A2F #2F9537
split-complementary
#2F5A95 #95372F #8D952F
monochromatic
#122238 #203E66 #2F5A95 #3F76C2 #6D97D1

Accessibility & contrast

On white

6.96
#2F5A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F5A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5A95
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A95#FFFFFF#000000##FFFFFF
##2F5A951.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F97
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5a95;
/* rgb */ color: rgb(47, 90, 149);
/* oklch */ color: oklch(46.7% 0.108 256.8);
Tailwind
colors: {
  custom: {
    50: '#7388b4',
    500: '#2f5a95',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a95;
$custom-light: #7388b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a95",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 214.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.10758,
    "h": 256.8
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#2F5A95
secondary
#B89667
accent
#9F4CDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5A95

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

Preview Lab → · Contrast checker → · Palette generator →

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