#2F3479#2F3479

#2F3479 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.116 H 275.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2F3479
RGBrgb(47, 52, 121)
HSLhsl(236, 44%, 33%)
HSVhsv(236, 61%, 47%)
CMYKcmyk(61.2%, 57%, 0%, 52.5%)
CIE-LABlab(25.08, 20.36, -40.22)
CIE-LCHlch(25.08, 45.08, 296.85°)
OKLaboklab(36.21% 0.0118 -0.1153)
OKLCHoklch(36.21% 0.116 275.8)
XYZxyz(5.8504, 4.4404, 18.6342)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3479 #79742F
analogous
#2F5979 #2F3479 #4F2F79
triadic
#2F3479 #792F34 #34792F
tetradic
#2F3479 #792F59 #79742F #2F794F
square
#2F3479 #792F59 #79742F #2F794F
split-complementary
#2F3479 #794F2F #59792F
monochromatic
#0D0E21 #1E214D #2F3479 #4047A5 #6167C2

Accessibility & contrast

On white

11.12
#2F3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3479
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3479#FFFFFF#000000##FFFFFF
##2F34791.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f3479;
/* rgb */ color: rgb(47, 52, 121);
/* oklch */ color: oklch(36.2% 0.116 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ba0',
    500: '#2f3479',
    950: '#000000',
  },
}
SCSS
$custom: #2f3479;
$custom-light: #6f6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3479",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 235.946,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36212,
    "c": 0.11591,
    "h": 275.8
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#2F3479
secondary
#A8A35B
accent
#CB54D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2F3479

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

Preview Lab → · Contrast checker → · Palette generator →

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