#2F35B8#2F35B8

#2F35B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.2% C 0.200 H 272.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2F35B8
RGBrgb(47, 53, 184)
HSLhsl(237, 59%, 45%)
HSVhsv(237, 74%, 72%)
CMYKcmyk(74.5%, 71.2%, 0%, 27.8%)
CIE-LABlab(30.90, 42.19, -69.24)
CIE-LCHlch(30.90, 81.08, 301.36°)
OKLaboklab(42.19% 0.0068 -0.2003)
OKLCHoklch(42.19% 0.2 272)
XYZxyz(11.0942, 6.6101, 46.0293)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35B8 #B8B22F
analogous
#2F7AB8 #2F35B8 #6D2FB8
triadic
#2F35B8 #B82F35 #35B82F
tetradic
#2F35B8 #B82F7A #B8B22F #2FB86D
square
#2F35B8 #B82F7A #B8B22F #2FB86D
split-complementary
#2F35B8 #B86D2F #7AB82F
monochromatic
#161957 #232787 #2F35B8 #5257D3 #8286DF

Accessibility & contrast

On white

9.04
#2F35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35B8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35B8#FFFFFF#000000##FFFFFF
##2F35B81.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f35b8;
/* rgb */ color: rgb(47, 53, 184);
/* oklch */ color: oklch(42.2% 0.200 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d6dcf',
    500: '#2f35b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f35b8;
$custom-light: #7d6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35b8",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 237.372,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.20047,
    "h": 272
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#2F35B8
secondary
#C8C57B
accent
#DC45E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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