#2F35BC#2F35BC

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

Color values

HEX#2F35BC
RGBrgb(47, 53, 188)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 74%)
CMYKcmyk(75%, 71.8%, 0%, 26.3%)
CIE-LABlab(31.30, 43.55, -70.94)
CIE-LCHlch(31.30, 83.25, 301.55°)
OKLaboklab(42.6% 0.0063 -0.2053)
OKLCHoklch(42.6% 0.205 271.7)
XYZxyz(11.5194, 6.7802, 48.2688)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35BC #BCB62F
analogous
#2F7BBC #2F35BC #6F2FBC
triadic
#2F35BC #BC2F35 #35BC2F
tetradic
#2F35BC #BC2F7B #BCB62F #2FBC6F
square
#2F35BC #BC2F7B #BCB62F #2FBC6F
split-complementary
#2F35BC #BC6F2F #7BBC2F
monochromatic
#17195A #23278B #2F35BC #5459D4 #8589E0

Accessibility & contrast

On white

8.91
#2F35BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F35BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35BC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35BC#FFFFFF#000000##FFFFFF
##2F35BC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f35bc;
/* rgb */ color: rgb(47, 53, 188);
/* oklch */ color: oklch(42.6% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e6dd1',
    500: '#2f35bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f35bc;
$custom-light: #7e6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35bc",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 237.447,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.20543,
    "h": 271.7
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#2F35BC
secondary
#CAC77D
accent
#DC45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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