#2F359D#2F359D

#2F359D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.166 H 273.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2F359D
RGBrgb(47, 53, 157)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 70%, 62%)
CMYKcmyk(70.1%, 66.2%, 0%, 38.4%)
CIE-LABlab(28.34, 32.74, -57.24)
CIE-LCHlch(28.34, 65.94, 299.77°)
OKLaboklab(39.56% 0.0099 -0.1653)
OKLCHoklch(39.56% 0.166 273.4)
XYZxyz(8.5292, 5.5841, 32.5201)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F359D #9D972F
analogous
#2F6C9D #2F359D #602F9D
triadic
#2F359D #9D2F35 #359D2F
tetradic
#2F359D #9D2F6C #9D972F #2F9D60
square
#2F359D #9D2F6C #9D972F #2F9D60
split-complementary
#2F359D #9D602F #6C9D2F
monochromatic
#13153F #21256E #2F359D #434AC7 #7277D5

Accessibility & contrast

On white

9.92
#2F359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F359D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F359D#FFFFFF#000000##FFFFFF
##2F359D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f359d;
/* rgb */ color: rgb(47, 53, 157);
/* oklch */ color: oklch(39.6% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#776cbb',
    500: '#2f359d',
    950: '#000000',
  },
}
SCSS
$custom: #2f359d;
$custom-light: #776cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f359d",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 236.727,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.16561,
    "h": 273.4
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#2F359D
secondary
#BCB86B
accent
#D54BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F359D

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

Preview Lab → · Contrast checker → · Palette generator →

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