#2F35BE#2F35BE

#2F35BE is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.208 H 271.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2F35BE
RGBrgb(47, 53, 190)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 75%)
CMYKcmyk(75.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(31.50, 44.23, -71.79)
CIE-LCHlch(31.50, 84.33, 301.64°)
OKLaboklab(42.8% 0.006 -0.2078)
OKLCHoklch(42.8% 0.208 271.6)
XYZxyz(11.7365, 6.8670, 49.4121)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35BE #BEB82F
analogous
#2F7CBE #2F35BE #712FBE
triadic
#2F35BE #BE2F35 #35BE2F
tetradic
#2F35BE #BE2F7C #BEB82F #2FBE71
square
#2F35BE #BE2F7C #BEB82F #2FBE71
split-complementary
#2F35BE #BE712F #7CBE2F
monochromatic
#171A5C #23278D #2F35BE #555BD5 #868AE1

Accessibility & contrast

On white

8.85
#2F35BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F35BE
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35BE#FFFFFF#000000##FFFFFF
##2F35BE1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0043BC
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f35be;
/* rgb */ color: rgb(47, 53, 190);
/* oklch */ color: oklch(42.8% 0.208 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f6dd3',
    500: '#2f35be',
    950: '#000000',
  },
}
SCSS
$custom: #2f35be;
$custom-light: #7f6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35be",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 237.483,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.428,
    "c": 0.20789,
    "h": 271.6
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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