#2F5285#2F5285

#2F5285 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.094 H 257.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2F5285
RGBrgb(47, 82, 133)
HSLhsl(216, 48%, 35%)
HSVhsv(216, 65%, 52%)
CMYKcmyk(64.7%, 38.3%, 0%, 47.8%)
CIE-LABlab(34.66, 4.53, -32.36)
CIE-LCHlch(34.66, 32.68, 277.96°)
OKLaboklab(43.79% -0.0199 -0.0918)
OKLCHoklch(43.79% 0.094 257.8)
XYZxyz(8.4217, 8.3316, 23.3501)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5285 #85622F
analogous
#2F7D85 #2F5285 #372F85
triadic
#2F5285 #852F52 #52852F
tetradic
#2F5285 #852F7D #85622F #2F8537
square
#2F5285 #852F7D #85622F #2F8537
split-complementary
#2F5285 #85372F #7D852F
monochromatic
#0F1A2B #1F3658 #2F5285 #3F6EB2 #668EC9

Accessibility & contrast

On white

7.88
#2F5285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F5285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5285
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5285#FFFFFF#000000##FFFFFF
##2F52851.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5687
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5285;
/* rgb */ color: rgb(47, 82, 133);
/* oklch */ color: oklch(43.8% 0.094 257.8);
Tailwind
colors: {
  custom: {
    50: '#7082a9',
    500: '#2f5285',
    950: '#000000',
  },
}
SCSS
$custom: #2f5285;
$custom-light: #7082a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5285",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 215.581,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.09397,
    "h": 257.8
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#2F5285
secondary
#B08F60
accent
#A050D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F5285

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

Preview Lab → · Contrast checker → · Palette generator →

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