#2F3585#2F3585

#2F3585 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.132 H 274.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2F3585
RGBrgb(47, 53, 133)
HSLhsl(236, 48%, 35%)
HSVhsv(236, 65%, 52%)
CMYKcmyk(64.7%, 60.2%, 0%, 47.8%)
CIE-LABlab(26.28, 24.06, -45.81)
CIE-LCHlch(26.28, 51.74, 297.71°)
OKLaboklab(37.41% 0.011 -0.1317)
OKLCHoklch(37.41% 0.132 274.8)
XYZxyz(6.6776, 4.8434, 22.7687)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3585 #857F2F
analogous
#2F6085 #2F3585 #542F85
triadic
#2F3585 #852F35 #35852F
tetradic
#2F3585 #852F60 #857F2F #2F8554
square
#2F3585 #852F60 #857F2F #2F8554
split-complementary
#2F3585 #85542F #60852F
monochromatic
#0F112B #1F2358 #2F3585 #3F47B2 #666DC9

Accessibility & contrast

On white

10.67
#2F3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3585
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3585#FFFFFF#000000##FFFFFF
##2F35851.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3585;
/* rgb */ color: rgb(47, 53, 133);
/* oklch */ color: oklch(37.4% 0.132 274.8);
Tailwind
colors: {
  custom: {
    50: '#726ca9',
    500: '#2f3585',
    950: '#000000',
  },
}
SCSS
$custom: #2f3585;
$custom-light: #726ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3585",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 235.814,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.1322,
    "h": 274.8
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#2F3585
secondary
#B0AA60
accent
#CE50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3585

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

Preview Lab → · Contrast checker → · Palette generator →

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