#2F359A#2F359A

#2F359A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.162 H 273.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2F359A
RGBrgb(47, 53, 154)
HSLhsl(237, 53%, 39%)
HSVhsv(237, 69%, 60%)
CMYKcmyk(69.5%, 65.6%, 0%, 39.6%)
CIE-LABlab(28.07, 31.67, -55.86)
CIE-LCHlch(28.07, 64.21, 299.55°)
OKLaboklab(39.28% 0.0102 -0.1612)
OKLCHoklch(39.28% 0.162 273.6)
XYZxyz(8.2762, 5.4829, 31.1877)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F359A #9A942F
analogous
#2F6A9A #2F359A #5F2F9A
triadic
#2F359A #9A2F35 #359A2F
tetradic
#2F359A #9A2F6A #9A942F #2F9A5F
square
#2F359A #9A2F6A #9A942F #2F9A5F
split-complementary
#2F359A #9A5F2F #6A9A2F
monochromatic
#12153C #21256B #2F359A #4149C5 #7076D3

Accessibility & contrast

On white

10.02
#2F359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F359A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F359A#FFFFFF#000000##FFFFFF
##2F359A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f359a;
/* rgb */ color: rgb(47, 53, 154);
/* oklch */ color: oklch(39.3% 0.162 273.6);
Tailwind
colors: {
  custom: {
    50: '#766cb9',
    500: '#2f359a',
    950: '#000000',
  },
}
SCSS
$custom: #2f359a;
$custom-light: #766cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f359a",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 236.636,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.16156,
    "h": 273.6
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#2F359A
secondary
#BBB66A
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2F359A

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

Preview Lab → · Contrast checker → · Palette generator →

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