#2F5B95#2F5B95

#2F5B95 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.106 H 256.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2F5B95
RGBrgb(47, 91, 149)
HSLhsl(214, 52%, 38%)
HSVhsv(214, 68%, 58%)
CMYKcmyk(68.5%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.30, 4.62, -36.33)
CIE-LCHlch(38.30, 36.62, 277.25°)
OKLaboklab(46.91% -0.0255 -0.1033)
OKLCHoklch(46.91% 0.106 256.1)
XYZxyz(10.3362, 10.2554, 29.8627)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B95 #95692F
analogous
#2F8E95 #2F5B95 #362F95
triadic
#2F5B95 #952F5B #5B952F
tetradic
#2F5B95 #952F8E #95692F #2F9536
square
#2F5B95 #952F8E #95692F #2F9536
split-complementary
#2F5B95 #95362F #8E952F
monochromatic
#122238 #203F66 #2F5B95 #3F78C2 #6D98D1

Accessibility & contrast

On white

6.88
#2F5B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F5B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5B95
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B95#FFFFFF#000000##FFFFFF
##2F5B951.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5b95;
/* rgb */ color: rgb(47, 91, 149);
/* oklch */ color: oklch(46.9% 0.106 256.1);
Tailwind
colors: {
  custom: {
    50: '#7389b4',
    500: '#2f5b95',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b95;
$custom-light: #7389b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b95",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 214.118,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.10645,
    "h": 256.1
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#2F5B95
secondary
#B89567
accent
#9E4CDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5B95

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

Preview Lab → · Contrast checker → · Palette generator →

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