#2F5D98#2F5D98

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

Color values

HEX#2F5D98
RGBrgb(47, 93, 152)
HSLhsl(214, 53%, 39%)
HSVhsv(214, 69%, 60%)
CMYKcmyk(69.1%, 38.8%, 0%, 40.4%)
CIE-LABlab(39.07, 4.45, -36.91)
CIE-LCHlch(39.07, 37.17, 276.88°)
OKLaboklab(47.57% -0.0269 -0.105)
OKLCHoklch(47.57% 0.108 255.6)
XYZxyz(10.7521, 10.6989, 31.1981)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D98 #986A2F
analogous
#2F9298 #2F5D98 #352F98
triadic
#2F5D98 #982F5D #5D982F
tetradic
#2F5D98 #982F92 #986A2F #2F9835
square
#2F5D98 #982F92 #986A2F #2F9835
split-complementary
#2F5D98 #98352F #92982F
monochromatic
#12243B #214069 #2F5D98 #407AC4 #6F9BD2

Accessibility & contrast

On white

6.69
#2F5D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F5D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D98
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D98#FFFFFF#000000##FFFFFF
##2F5D981.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#335897
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5d98;
/* rgb */ color: rgb(47, 93, 152);
/* oklch */ color: oklch(47.6% 0.108 255.6);
Tailwind
colors: {
  custom: {
    50: '#748ab6',
    500: '#2f5d98',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d98;
$custom-light: #748ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d98",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 213.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.10839,
    "h": 255.6
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5D98

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

Preview Lab → · Contrast checker → · Palette generator →

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