#2F5E9C#2F5E9C

#2F5E9C is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.1% C 0.113 H 256.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2F5E9C
RGBrgb(47, 94, 156)
HSLhsl(214, 54%, 40%)
HSVhsv(214, 70%, 61%)
CMYKcmyk(69.9%, 39.7%, 0%, 38.8%)
CIE-LABlab(39.60, 5.30, -38.46)
CIE-LCHlch(39.60, 38.83, 277.85°)
OKLaboklab(48.05% -0.0269 -0.1095)
OKLCHoklch(48.05% 0.113 256.2)
XYZxyz(11.1736, 11.0089, 32.9821)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E9C #9C6D2F
analogous
#2F959C #2F5E9C #362F9C
triadic
#2F5E9C #9C2F5E #5E9C2F
tetradic
#2F5E9C #9C2F95 #9C6D2F #2F9C36
square
#2F5E9C #9C2F95 #9C6D2F #2F9C36
split-complementary
#2F5E9C #9C362F #959C2F
monochromatic
#13253E #21426D #2F5E9C #427BC6 #719CD4

Accessibility & contrast

On white

6.56
#2F5E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F5E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E9C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E9C#FFFFFF#000000##FFFFFF
##2F5E9C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5e9c;
/* rgb */ color: rgb(47, 94, 156);
/* oklch */ color: oklch(48.1% 0.113 256.2);
Tailwind
colors: {
  custom: {
    50: '#748bb9',
    500: '#2f5e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e9c;
$custom-light: #748bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e9c",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 156
  },
  "hsl": {
    "h": 214.128,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.11281,
    "h": 256.2
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#2F5E9C
secondary
#BC996B
accent
#9E4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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