#2F3D75#2F3D75

#2F3D75 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.097 H 270.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2F3D75
RGBrgb(47, 61, 117)
HSLhsl(228, 43%, 32%)
HSVhsv(228, 60%, 46%)
CMYKcmyk(59.8%, 47.9%, 0%, 54.1%)
CIE-LABlab(27.37, 12.71, -34.00)
CIE-LCHlch(27.37, 36.30, 290.50°)
OKLaboklab(37.85% 0.0011 -0.0969)
OKLCHoklch(37.85% 0.097 270.6)
XYZxyz(6.0509, 5.2257, 17.5160)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D75 #75672F
analogous
#2F6075 #2F3D75 #442F75
triadic
#2F3D75 #752F3D #3D752F
tetradic
#2F3D75 #752F60 #75672F #2F7544
square
#2F3D75 #752F60 #75672F #2F7544
split-complementary
#2F3D75 #75442F #60752F
monochromatic
#0C0F1E #1D2649 #2F3D75 #4154A1 #5F73BF

Accessibility & contrast

On white

10.27
#2F3D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F3D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D75
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D75#FFFFFF#000000##FFFFFF
##2F3D751.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234477
Deuteranopia (green-blind)
#1A3E74
Tritanopia (blue-blind)
#014953
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3d75;
/* rgb */ color: rgb(47, 61, 117);
/* oklch */ color: oklch(37.9% 0.097 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e729d',
    500: '#2f3d75',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d75;
$custom-light: #6e729d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d75",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 117
  },
  "hsl": {
    "h": 228,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.09693,
    "h": 270.6
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#2F3D75
secondary
#A6975A
accent
#B955D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #2F3D75

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

Preview Lab → · Contrast checker → · Palette generator →

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