#2F5B92#2F5B92

#2F5B92 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.102 H 255.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2F5B92
RGBrgb(47, 91, 146)
HSLhsl(213, 51%, 38%)
HSVhsv(213, 68%, 57%)
CMYKcmyk(67.8%, 37.7%, 0%, 42.7%)
CIE-LABlab(38.13, 3.51, -34.78)
CIE-LCHlch(38.13, 34.96, 275.76°)
OKLaboklab(46.73% -0.0263 -0.0988)
OKLCHoklch(46.73% 0.102 255.1)
XYZxyz(10.0998, 10.1608, 28.6175)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B92 #92662F
analogous
#2F8C92 #2F5B92 #342F92
triadic
#2F5B92 #922F5B #5B922F
tetradic
#2F5B92 #922F8C #92662F #2F9234
square
#2F5B92 #922F8C #92662F #2F9234
split-complementary
#2F5B92 #92342F #8C922F
monochromatic
#112135 #203E64 #2F5B92 #3E78C0 #6C98D0

Accessibility & contrast

On white

6.93
#2F5B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F5B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5B92
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B92#FFFFFF#000000##FFFFFF
##2F5B921.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F94
Deuteranopia (green-blind)
#345591
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5b92;
/* rgb */ color: rgb(47, 91, 146);
/* oklch */ color: oklch(46.7% 0.102 255.1);
Tailwind
colors: {
  custom: {
    50: '#7389b2',
    500: '#2f5b92',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b92;
$custom-light: #7389b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b92",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 146
  },
  "hsl": {
    "h": 213.333,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.10227,
    "h": 255.1
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#2F5B92
secondary
#B79366
accent
#9C4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5B92

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

Preview Lab → · Contrast checker → · Palette generator →

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