#2F3266#2F3266

#2F3266 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.090 H 278.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2F3266
RGBrgb(47, 50, 102)
HSLhsl(237, 37%, 29%)
HSVhsv(237, 54%, 40%)
CMYKcmyk(53.9%, 51%, 0%, 60%)
CIE-LABlab(23.15, 14.90, -31.14)
CIE-LCHlch(23.15, 34.52, 295.58°)
OKLaboklab(34.33% 0.0126 -0.0886)
OKLCHoklch(34.33% 0.09 278.1)
XYZxyz(4.7104, 3.8446, 13.0617)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3266 #66632F
analogous
#2F4E66 #2F3266 #482F66
triadic
#2F3266 #662F32 #32662F
tetradic
#2F3266 #662F4E #66632F #2F6648
square
#2F3266 #662F4E #66632F #2F6648
split-complementary
#2F3266 #66482F #4E662F
monochromatic
#0A0A15 #1C1D3C #2F3266 #424790 #5C60B4

Accessibility & contrast

On white

11.87
#2F3266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3266
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3266#FFFFFF#000000##FFFFFF
##2F32661.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3968
Deuteranopia (green-blind)
#153565
Tritanopia (blue-blind)
#193D47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3266;
/* rgb */ color: rgb(47, 50, 102);
/* oklch */ color: oklch(34.3% 0.090 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c6992',
    500: '#2f3266',
    950: '#000000',
  },
}
SCSS
$custom: #2f3266;
$custom-light: #6c6992;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3266",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 236.727,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34329,
    "c": 0.08951,
    "h": 278.1
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#2F3266
secondary
#989459
accent
#C75BCD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F3266

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

Preview Lab → · Contrast checker → · Palette generator →

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