#2F3466#2F3466

#2F3466 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.086 H 276.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2F3466
RGBrgb(47, 52, 102)
HSLhsl(235, 37%, 29%)
HSVhsv(235, 54%, 40%)
CMYKcmyk(53.9%, 49%, 0%, 60%)
CIE-LABlab(23.74, 13.51, -30.20)
CIE-LCHlch(23.74, 33.09, 294.11°)
OKLaboklab(34.77% 0.01 -0.0859)
OKLCHoklch(34.77% 0.086 276.6)
XYZxyz(4.7978, 4.0193, 13.0908)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3466 #66612F
analogous
#2F5066 #2F3466 #462F66
triadic
#2F3466 #662F34 #34662F
tetradic
#2F3466 #662F50 #66612F #2F6646
square
#2F3466 #662F50 #66612F #2F6646
split-complementary
#2F3466 #66462F #50662F
monochromatic
#0A0B15 #1C1F3C #2F3466 #424990 #5C64B4

Accessibility & contrast

On white

11.64
#2F3466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F3466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3466
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3466#FFFFFF#000000##FFFFFF
##2F34661.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#193665
Tritanopia (blue-blind)
#183F48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3466;
/* rgb */ color: rgb(47, 52, 102);
/* oklch */ color: oklch(34.8% 0.086 276.6);
Tailwind
colors: {
  custom: {
    50: '#6c6b92',
    500: '#2f3466',
    950: '#000000',
  },
}
SCSS
$custom: #2f3466;
$custom-light: #6c6b92;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3466",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 102
  },
  "hsl": {
    "h": 234.545,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34771,
    "c": 0.08644,
    "h": 276.6
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#2F3466
secondary
#989259
accent
#C35BCD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F3466

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

Preview Lab → · Contrast checker → · Palette generator →

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