#2F5F92#2F5F92

#2F5F92 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.098 H 251.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2F5F92
RGBrgb(47, 95, 146)
HSLhsl(211, 51%, 38%)
HSVhsv(211, 68%, 57%)
CMYKcmyk(67.8%, 34.9%, 0%, 42.7%)
CIE-LABlab(39.35, 0.97, -32.86)
CIE-LCHlch(39.35, 32.87, 271.68°)
OKLaboklab(47.68% -0.0306 -0.0931)
OKLCHoklch(47.68% 0.098 251.8)
XYZxyz(10.4509, 10.8630, 28.7346)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F92 #92622F
analogous
#2F9092 #2F5F92 #302F92
triadic
#2F5F92 #922F5F #5F922F
tetradic
#2F5F92 #922F90 #92622F #2F9230
square
#2F5F92 #922F90 #92622F #2F9230
split-complementary
#2F5F92 #92302F #90922F
monochromatic
#112335 #204164 #2F5F92 #3E7DC0 #6C9CD0

Accessibility & contrast

On white

6.62
#2F5F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F5F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F92
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F92#FFFFFF#000000##FFFFFF
##2F5F921.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496294
Deuteranopia (green-blind)
#3B5891
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5f92;
/* rgb */ color: rgb(47, 95, 146);
/* oklch */ color: oklch(47.7% 0.098 251.8);
Tailwind
colors: {
  custom: {
    50: '#738cb2',
    500: '#2f5f92',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f92;
$custom-light: #738cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f92",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 146
  },
  "hsl": {
    "h": 210.909,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.09804,
    "h": 251.8
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#2F5F92
secondary
#B79066
accent
#964DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F5F92

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

Preview Lab → · Contrast checker → · Palette generator →

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