#2F5D95#2F5D95

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

Color values

HEX#2F5D95
RGBrgb(47, 93, 149)
HSLhsl(213, 52%, 38%)
HSVhsv(213, 68%, 58%)
CMYKcmyk(68.5%, 37.6%, 0%, 41.6%)
CIE-LABlab(38.90, 3.34, -35.37)
CIE-LCHlch(38.90, 35.53, 275.39°)
OKLaboklab(47.39% -0.0276 -0.1005)
OKLCHoklch(47.39% 0.104 254.6)
XYZxyz(10.5095, 10.6019, 29.9205)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D95 #95672F
analogous
#2F9095 #2F5D95 #342F95
triadic
#2F5D95 #952F5D #5D952F
tetradic
#2F5D95 #952F90 #95672F #2F9534
square
#2F5D95 #952F90 #95672F #2F9534
split-complementary
#2F5D95 #95342F #90952F
monochromatic
#122338 #204066 #2F5D95 #3F7AC2 #6D9AD1

Accessibility & contrast

On white

6.73
#2F5D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F5D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D95
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D95#FFFFFF#000000##FFFFFF
##2F5D951.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5d95;
/* rgb */ color: rgb(47, 93, 149);
/* oklch */ color: oklch(47.4% 0.104 254.6);
Tailwind
colors: {
  custom: {
    50: '#738ab4',
    500: '#2f5d95',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d95;
$custom-light: #738ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d95",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 212.941,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.10423,
    "h": 254.6
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#2F5D95
secondary
#B89467
accent
#9B4CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D95

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

Preview Lab → · Contrast checker → · Palette generator →

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