#2F5D9C#2F5D9C

#2F5D9C is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.8% C 0.114 H 256.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2F5D9C
RGBrgb(47, 93, 156)
HSLhsl(215, 54%, 40%)
HSVhsv(215, 70%, 61%)
CMYKcmyk(69.9%, 40.4%, 0%, 38.8%)
CIE-LABlab(39.30, 5.94, -38.94)
CIE-LCHlch(39.30, 39.39, 278.68°)
OKLaboklab(47.82% -0.0259 -0.111)
OKLCHoklch(47.82% 0.114 256.9)
XYZxyz(11.0852, 10.8322, 32.9527)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D9C #9C6E2F
analogous
#2F949C #2F5D9C #372F9C
triadic
#2F5D9C #9C2F5D #5D9C2F
tetradic
#2F5D9C #9C2F94 #9C6E2F #2F9C37
square
#2F5D9C #9C2F94 #9C6E2F #2F9C37
split-complementary
#2F5D9C #9C372F #949C2F
monochromatic
#13253E #21416D #2F5D9C #427AC6 #719BD4

Accessibility & contrast

On white

6.63
#2F5D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5D9C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D9C#FFFFFF#000000##FFFFFF
##2F5D9C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5d9c;
/* rgb */ color: rgb(47, 93, 156);
/* oklch */ color: oklch(47.8% 0.114 256.9);
Tailwind
colors: {
  custom: {
    50: '#748ab9',
    500: '#2f5d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d9c;
$custom-light: #748ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d9c",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 156
  },
  "hsl": {
    "h": 214.679,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.11394,
    "h": 256.9
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#2F5D9C
secondary
#BC9A6B
accent
#9F4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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