#2F5F94#2F5F94

#2F5F94 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.101 H 252.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2F5F94
RGBrgb(47, 95, 148)
HSLhsl(211, 52%, 38%)
HSVhsv(211, 68%, 58%)
CMYKcmyk(68.2%, 35.8%, 0%, 42%)
CIE-LABlab(39.46, 1.70, -33.89)
CIE-LCHlch(39.46, 33.93, 272.87°)
OKLaboklab(47.8% -0.03 -0.0962)
OKLCHoklch(47.8% 0.101 252.7)
XYZxyz(10.6078, 10.9258, 29.5611)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F94 #94642F
analogous
#2F9194 #2F5F94 #312F94
triadic
#2F5F94 #942F5F #5F942F
tetradic
#2F5F94 #942F91 #94642F #2F9431
square
#2F5F94 #942F91 #94642F #2F9431
split-complementary
#2F5F94 #94312F #91942F
monochromatic
#112337 #204166 #2F5F94 #3E7DC2 #6D9CD1

Accessibility & contrast

On white

6.59
#2F5F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5F94
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F94#FFFFFF#000000##FFFFFF
##2F5F941.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486296
Deuteranopia (green-blind)
#395993
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5f94;
/* rgb */ color: rgb(47, 95, 148);
/* oklch */ color: oklch(47.8% 0.101 252.7);
Tailwind
colors: {
  custom: {
    50: '#738cb3',
    500: '#2f5f94',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f94;
$custom-light: #738cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f94",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 211.485,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.478,
    "c": 0.10074,
    "h": 252.7
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#2F5F94
secondary
#B89167
accent
#974DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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