#2F5E98#2F5E98

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

Color values

HEX#2F5E98
RGBrgb(47, 94, 152)
HSLhsl(213, 53%, 39%)
HSVhsv(213, 69%, 60%)
CMYKcmyk(69.1%, 38.2%, 0%, 40.4%)
CIE-LABlab(39.37, 3.81, -36.43)
CIE-LCHlch(39.37, 36.63, 275.98°)
OKLaboklab(47.81% -0.0279 -0.1036)
OKLCHoklch(47.81% 0.107 254.9)
XYZxyz(10.8404, 10.8756, 31.2276)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E98 #98692F
analogous
#2F9398 #2F5E98 #352F98
triadic
#2F5E98 #982F5E #5E982F
tetradic
#2F5E98 #982F93 #98692F #2F9835
square
#2F5E98 #982F93 #98692F #2F9835
split-complementary
#2F5E98 #98352F #93982F
monochromatic
#12243B #214169 #2F5E98 #407BC4 #6F9BD2

Accessibility & contrast

On white

6.61
#2F5E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F5E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E98
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E98#FFFFFF#000000##FFFFFF
##2F5E981.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#355897
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5e98;
/* rgb */ color: rgb(47, 94, 152);
/* oklch */ color: oklch(47.8% 0.107 254.9);
Tailwind
colors: {
  custom: {
    50: '#748bb6',
    500: '#2f5e98',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e98;
$custom-light: #748bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e98",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 213.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.10728,
    "h": 254.9
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#2F5E98
secondary
#BA9669
accent
#9B4CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E98

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

Preview Lab → · Contrast checker → · Palette generator →

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