#2F3574#2F3574

#2F3574 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.107 H 275.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2F3574
RGBrgb(47, 53, 116)
HSLhsl(235, 42%, 32%)
HSVhsv(235, 59%, 45%)
CMYKcmyk(59.5%, 54.3%, 0%, 54.5%)
CIE-LABlab(24.99, 17.86, -37.19)
CIE-LCHlch(24.99, 41.25, 295.65°)
OKLaboklab(36.03% 0.0104 -0.1064)
OKLCHoklch(36.03% 0.107 275.6)
XYZxyz(5.5968, 4.4111, 17.0761)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3574 #746E2F
analogous
#2F5874 #2F3574 #4C2F74
triadic
#2F3574 #742F35 #35742F
tetradic
#2F3574 #742F58 #746E2F #2F744C
square
#2F3574 #742F58 #746E2F #2F744C
split-complementary
#2F3574 #744C2F #58742F
monochromatic
#0C0D1D #1D2148 #2F3574 #4149A0 #5F67BE

Accessibility & contrast

On white

11.16
#2F3574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F3574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3574
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3574#FFFFFF#000000##FFFFFF
##2F35741.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#043873
Tritanopia (blue-blind)
#06434F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f3574;
/* rgb */ color: rgb(47, 53, 116);
/* oklch */ color: oklch(36.0% 0.107 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e6c9c',
    500: '#2f3574',
    950: '#000000',
  },
}
SCSS
$custom: #2f3574;
$custom-light: #6e6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3574",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 116
  },
  "hsl": {
    "h": 234.783,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.10688,
    "h": 275.6
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#2F3574
secondary
#A59F5A
accent
#C756D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F3574

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

Preview Lab → · Contrast checker → · Palette generator →

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