#2F359F#2F359F

#2F359F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.168 H 273.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2F359F
RGBrgb(47, 53, 159)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 70%, 62%)
CMYKcmyk(70.4%, 66.7%, 0%, 37.6%)
CIE-LABlab(28.52, 33.45, -58.16)
CIE-LCHlch(28.52, 67.10, 299.91°)
OKLaboklab(39.75% 0.0097 -0.168)
OKLCHoklch(39.75% 0.168 273.3)
XYZxyz(8.7013, 5.6529, 33.4267)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F359F #9F992F
analogous
#2F6D9F #2F359F #612F9F
triadic
#2F359F #9F2F35 #359F2F
tetradic
#2F359F #9F2F6D #9F992F #2F9F61
square
#2F359F #9F2F6D #9F992F #2F9F61
split-complementary
#2F359F #9F612F #6D9F2F
monochromatic
#131641 #212570 #2F359F #444BC8 #7378D6

Accessibility & contrast

On white

9.86
#2F359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F359F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F359F#FFFFFF#000000##FFFFFF
##2F359F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f359f;
/* rgb */ color: rgb(47, 53, 159);
/* oklch */ color: oklch(39.7% 0.168 273.3);
Tailwind
colors: {
  custom: {
    50: '#776cbc',
    500: '#2f359f',
    950: '#000000',
  },
}
SCSS
$custom: #2f359f;
$custom-light: #776cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f359f",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 236.786,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.16828,
    "h": 273.3
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#2F359F
secondary
#BDB96D
accent
#D64ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F359F

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

Preview Lab → · Contrast checker → · Palette generator →

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