#2F3272#2F3272

#2F3272 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.108 H 277.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2F3272
RGBrgb(47, 50, 114)
HSLhsl(237, 42%, 32%)
HSVhsv(237, 59%, 45%)
CMYKcmyk(58.8%, 56.1%, 0%, 55.3%)
CIE-LABlab(24.00, 19.20, -37.50)
CIE-LCHlch(24.00, 42.13, 297.11°)
OKLaboklab(35.24% 0.0137 -0.1073)
OKLCHoklch(35.24% 0.108 277.3)
XYZxyz(5.3492, 4.1001, 16.4258)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3272 #726F2F
analogous
#2F5472 #2F3272 #4E2F72
triadic
#2F3272 #722F32 #32722F
tetradic
#2F3272 #722F54 #726F2F #2F724E
square
#2F3272 #722F54 #726F2F #2F724E
split-complementary
#2F3272 #724E2F #54722F
monochromatic
#0B0C1B #1D1F47 #2F3272 #41459D #5F63BD

Accessibility & contrast

On white

11.54
#2F3272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3272
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3272#FFFFFF#000000##FFFFFF
##2F32721.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#0A414D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3272;
/* rgb */ color: rgb(47, 50, 114);
/* oklch */ color: oklch(35.2% 0.108 277.3);
Tailwind
colors: {
  custom: {
    50: '#6e699b',
    500: '#2f3272',
    950: '#000000',
  },
}
SCSS
$custom: #2f3272;
$custom-light: #6e699b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3272",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 237.313,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35239,
    "c": 0.10821,
    "h": 277.3
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#2F3272
secondary
#A3A05A
accent
#CC56D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3272

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

Preview Lab → · Contrast checker → · Palette generator →

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