#2F5F95#2F5F95

#2F5F95 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.102 H 253.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2F5F95
RGBrgb(47, 95, 149)
HSLhsl(212, 52%, 38%)
HSVhsv(212, 68%, 58%)
CMYKcmyk(68.5%, 36.2%, 0%, 41.6%)
CIE-LABlab(39.51, 2.07, -34.41)
CIE-LCHlch(39.51, 34.47, 273.44°)
OKLaboklab(47.86% -0.0298 -0.0977)
OKLCHoklch(47.86% 0.102 253.1)
XYZxyz(10.6873, 10.9576, 29.9797)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F95 #95652F
analogous
#2F9295 #2F5F95 #322F95
triadic
#2F5F95 #952F5F #5F952F
tetradic
#2F5F95 #952F92 #95652F #2F9532
square
#2F5F95 #952F92 #95652F #2F9532
split-complementary
#2F5F95 #95322F #92952F
monochromatic
#122438 #204166 #2F5F95 #3F7DC2 #6D9CD1

Accessibility & contrast

On white

6.58
#2F5F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F5F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F95
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F95#FFFFFF#000000##FFFFFF
##2F5F951.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5f95;
/* rgb */ color: rgb(47, 95, 149);
/* oklch */ color: oklch(47.9% 0.102 253.1);
Tailwind
colors: {
  custom: {
    50: '#738cb4',
    500: '#2f5f95',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f95;
$custom-light: #738cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f95",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 211.765,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.1021,
    "h": 253.1
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#2F5F95
secondary
#B89267
accent
#984CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F5F95

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

Preview Lab → · Contrast checker → · Palette generator →

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