#2F5E95#2F5E95

#2F5E95 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.103 H 253.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2F5E95
RGBrgb(47, 94, 149)
HSLhsl(212, 52%, 38%)
HSVhsv(212, 68%, 58%)
CMYKcmyk(68.5%, 36.9%, 0%, 41.6%)
CIE-LABlab(39.20, 2.70, -34.89)
CIE-LCHlch(39.20, 34.99, 274.43°)
OKLaboklab(47.62% -0.0287 -0.0991)
OKLCHoklch(47.62% 0.103 253.8)
XYZxyz(10.5978, 10.7786, 29.9499)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E95 #95662F
analogous
#2F9195 #2F5E95 #332F95
triadic
#2F5E95 #952F5E #5E952F
tetradic
#2F5E95 #952F91 #95662F #2F9533
square
#2F5E95 #952F91 #95662F #2F9533
split-complementary
#2F5E95 #95332F #91952F
monochromatic
#122338 #204166 #2F5E95 #3F7BC2 #6D9BD1

Accessibility & contrast

On white

6.65
#2F5E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F5E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E95
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E95#FFFFFF#000000##FFFFFF
##2F5E951.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5e95;
/* rgb */ color: rgb(47, 94, 149);
/* oklch */ color: oklch(47.6% 0.103 253.8);
Tailwind
colors: {
  custom: {
    50: '#738bb4',
    500: '#2f5e95',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e95;
$custom-light: #738bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e95",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 212.353,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.10315,
    "h": 253.8
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#2F5E95
secondary
#B89367
accent
#9A4CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E95

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

Preview Lab → · Contrast checker → · Palette generator →

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