#2F35BA#2F35BA

#2F35BA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.4% C 0.203 H 271.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2F35BA
RGBrgb(47, 53, 186)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 73%)
CMYKcmyk(74.7%, 71.5%, 0%, 27.1%)
CIE-LABlab(31.10, 42.87, -70.09)
CIE-LCHlch(31.10, 82.17, 301.45°)
OKLaboklab(42.39% 0.0066 -0.2028)
OKLCHoklch(42.39% 0.203 271.8)
XYZxyz(11.3053, 6.6945, 47.1412)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35BA #BAB42F
analogous
#2F7ABA #2F35BA #6E2FBA
triadic
#2F35BA #BA2F35 #35BA2F
tetradic
#2F35BA #BA2F7A #BAB42F #2FBA6E
square
#2F35BA #BA2F7A #BAB42F #2FBA6E
split-complementary
#2F35BA #BA6E2F #7ABA2F
monochromatic
#161958 #232789 #2F35BA #5358D3 #8488E0

Accessibility & contrast

On white

8.98
#2F35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35BA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35BA#FFFFFF#000000##FFFFFF
##2F35BA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f35ba;
/* rgb */ color: rgb(47, 53, 186);
/* oklch */ color: oklch(42.4% 0.203 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dd0',
    500: '#2f35ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f35ba;
$custom-light: #7e6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35ba",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 237.41,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.20296,
    "h": 271.8
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#2F35BA
secondary
#C9C67C
accent
#DC45E3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #2F35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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