#2F5D94#2F5D94

#2F5D94 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.103 H 254.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2F5D94
RGBrgb(47, 93, 148)
HSLhsl(213, 52%, 38%)
HSVhsv(213, 68%, 58%)
CMYKcmyk(68.2%, 37.2%, 0%, 42%)
CIE-LABlab(38.85, 2.97, -34.85)
CIE-LCHlch(38.85, 34.98, 274.87°)
OKLaboklab(47.33% -0.0279 -0.099)
OKLCHoklch(47.33% 0.103 254.3)
XYZxyz(10.4300, 10.5701, 29.5018)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D94 #94662F
analogous
#2F8F94 #2F5D94 #332F94
triadic
#2F5D94 #942F5D #5D942F
tetradic
#2F5D94 #942F8F #94662F #2F9433
square
#2F5D94 #942F8F #94662F #2F9433
split-complementary
#2F5D94 #94332F #8F942F
monochromatic
#112337 #204066 #2F5D94 #3E7AC2 #6D9AD1

Accessibility & contrast

On white

6.74
#2F5D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F5D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D94
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D94#FFFFFF#000000##FFFFFF
##2F5D941.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456196
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5d94;
/* rgb */ color: rgb(47, 93, 148);
/* oklch */ color: oklch(47.3% 0.103 254.3);
Tailwind
colors: {
  custom: {
    50: '#738ab4',
    500: '#2f5d94',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d94;
$custom-light: #738ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d94",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 148
  },
  "hsl": {
    "h": 212.673,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.10286,
    "h": 254.3
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#2F5D94
secondary
#B89367
accent
#9A4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D94

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

Preview Lab → · Contrast checker → · Palette generator →

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