#2F35BD#2F35BD

#2F35BD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.207 H 271.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F35BD
RGBrgb(47, 53, 189)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 74%)
CMYKcmyk(75.1%, 72%, 0%, 25.9%)
CIE-LABlab(31.40, 43.89, -71.37)
CIE-LCHlch(31.40, 83.79, 301.59°)
OKLaboklab(42.7% 0.0061 -0.2066)
OKLCHoklch(42.7% 0.207 271.7)
XYZxyz(11.6276, 6.8234, 48.8385)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35BD #BDB72F
analogous
#2F7CBD #2F35BD #702FBD
triadic
#2F35BD #BD2F35 #35BD2F
tetradic
#2F35BD #BD2F7C #BDB72F #2FBD70
square
#2F35BD #BD2F7C #BDB72F #2FBD70
split-complementary
#2F35BD #BD702F #7CBD2F
monochromatic
#171A5B #23278C #2F35BD #555AD5 #8689E1

Accessibility & contrast

On white

8.88
#2F35BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F35BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35BD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35BD#FFFFFF#000000##FFFFFF
##2F35BD1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f35bd;
/* rgb */ color: rgb(47, 53, 189);
/* oklch */ color: oklch(42.7% 0.207 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e6dd2',
    500: '#2f35bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f35bd;
$custom-light: #7e6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35bd",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 237.465,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.20666,
    "h": 271.7
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#2F35BD
secondary
#CAC77E
accent
#DD44E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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