#2F4985#2F4985

#2F4985 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.105 H 264.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2F4985
RGBrgb(47, 73, 133)
HSLhsl(222, 48%, 35%)
HSVhsv(222, 65%, 52%)
CMYKcmyk(64.7%, 45.1%, 0%, 47.8%)
CIE-LABlab(31.95, 10.49, -36.68)
CIE-LCHlch(31.95, 38.15, 285.96°)
OKLaboklab(41.69% -0.0098 -0.1046)
OKLCHoklch(41.69% 0.105 264.6)
XYZxyz(7.7870, 7.0622, 23.1385)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4985 #856B2F
analogous
#2F7485 #2F4985 #402F85
triadic
#2F4985 #852F49 #49852F
tetradic
#2F4985 #852F74 #856B2F #2F8540
square
#2F4985 #852F74 #856B2F #2F8540
split-complementary
#2F4985 #85402F #74852F
monochromatic
#0F172B #1F3058 #2F4985 #3F62B2 #6684C9

Accessibility & contrast

On white

8.70
#2F4985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F4985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4985
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4985#FFFFFF#000000##FFFFFF
##2F49851.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F87
Deuteranopia (green-blind)
#204784
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4985;
/* rgb */ color: rgb(47, 73, 133);
/* oklch */ color: oklch(41.7% 0.105 264.6);
Tailwind
colors: {
  custom: {
    50: '#707ba9',
    500: '#2f4985',
    950: '#000000',
  },
}
SCSS
$custom: #2f4985;
$custom-light: #707ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4985",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 221.86,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.10509,
    "h": 264.6
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#2F4985
secondary
#B09860
accent
#AF50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F4985

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

Preview Lab → · Contrast checker → · Palette generator →

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