#2F375F#2F375F

#2F375F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.070 H 273.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2F375F
RGBrgb(47, 55, 95)
HSLhsl(230, 34%, 28%)
HSVhsv(230, 51%, 37%)
CMYKcmyk(50.5%, 42.1%, 0%, 62.7%)
CIE-LABlab(24.20, 8.97, -24.91)
CIE-LCHlch(24.20, 26.48, 289.81°)
OKLaboklab(34.99% 0.0045 -0.0703)
OKLCHoklch(34.99% 0.07 273.7)
XYZxyz(4.6034, 4.1627, 11.3852)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F375F #5F572F
analogous
#2F4F5F #2F375F #3F2F5F
triadic
#2F375F #5F2F37 #375F2F
tetradic
#2F375F #5F2F4F #5F572F #2F5F3F
square
#2F375F #5F2F4F #5F572F #2F5F3F
split-complementary
#2F375F #5F3F2F #4F5F2F
monochromatic
#0A0C14 #1B1F36 #2F375F #434F88 #5B69AE

Accessibility & contrast

On white

11.46
#2F375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F375F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F375F#FFFFFF#000000##FFFFFF
##2F375F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#1D3F46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f375f;
/* rgb */ color: rgb(47, 55, 95);
/* oklch */ color: oklch(35.0% 0.070 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b6d8c',
    500: '#2f375f',
    950: '#000000',
  },
}
SCSS
$custom: #2f375f;
$custom-light: #6b6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f375f",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 230,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.07048,
    "h": 273.7
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#2F375F
secondary
#918759
accent
#B85ECA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2F375F

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

Preview Lab → · Contrast checker → · Palette generator →

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