#2F4085#2F4085

#2F4085 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.117 H 269.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2F4085
RGBrgb(47, 64, 133)
HSLhsl(228, 48%, 35%)
HSVhsv(228, 65%, 52%)
CMYKcmyk(64.7%, 51.9%, 0%, 47.8%)
CIE-LABlab(29.32, 16.58, -40.89)
CIE-LCHlch(29.32, 44.13, 292.07°)
OKLaboklab(39.69% -0.0001 -0.1171)
OKLCHoklch(39.69% 0.117 269.9)
XYZxyz(7.2379, 5.9640, 22.9555)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4085 #85742F
analogous
#2F6B85 #2F4085 #492F85
triadic
#2F4085 #852F40 #40852F
tetradic
#2F4085 #852F6B #85742F #2F8549
square
#2F4085 #852F6B #85742F #2F8549
split-complementary
#2F4085 #85492F #6B852F
monochromatic
#0F142B #1F2A58 #2F4085 #3F56B2 #6679C9

Accessibility & contrast

On white

9.58
#2F4085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F4085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4085
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4085#FFFFFF#000000##FFFFFF
##2F40851.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#044184
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4085;
/* rgb */ color: rgb(47, 64, 133);
/* oklch */ color: oklch(39.7% 0.117 269.9);
Tailwind
colors: {
  custom: {
    50: '#7174a9',
    500: '#2f4085',
    950: '#000000',
  },
}
SCSS
$custom: #2f4085;
$custom-light: #7174a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4085",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 228.14,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.11715,
    "h": 269.9
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#2F4085
secondary
#B0A060
accent
#BD50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4085

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

Preview Lab → · Contrast checker → · Palette generator →

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