#2F375B#2F375B

#2F375B is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.064 H 273.1°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2F375B
RGBrgb(47, 55, 91)
HSLhsl(229, 32%, 27%)
HSVhsv(229, 48%, 36%)
CMYKcmyk(48.4%, 39.6%, 0%, 64.3%)
CIE-LABlab(23.97, 7.59, -22.66)
CIE-LCHlch(23.97, 23.89, 288.52°)
OKLaboklab(34.74% 0.0035 -0.0638)
OKLCHoklch(34.74% 0.064 273.1)
XYZxyz(4.4262, 4.0918, 10.4521)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F375B #5B532F
analogous
#2F4D5B #2F375B #3D2F5B
triadic
#2F375B #5B2F37 #375B2F
tetradic
#2F375B #5B2F4D #5B532F #2F5B3D
square
#2F375B #5B2F4D #5B532F #2F5B3D
split-complementary
#2F375B #5B3D2F #4D5B2F
monochromatic
#0A0C14 #1A1F33 #2F375B #444F83 #5A69AA

Accessibility & contrast

On white

11.55
#2F375B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F375B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F375B#FFFFFF#000000##FFFFFF
##2F375B1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5C
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#1F3E44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f375b;
/* rgb */ color: rgb(47, 55, 91);
/* oklch */ color: oklch(34.7% 0.064 273.1);
Tailwind
colors: {
  custom: {
    50: '#6a6d89',
    500: '#2f375b',
    950: '#000000',
  },
}
SCSS
$custom: #2f375b;
$custom-light: #6a6d89;
$custom-dark: #000000;
JSON
{
  "hex": "#2f375b",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 91
  },
  "hsl": {
    "h": 229.091,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34736,
    "c": 0.06388,
    "h": 273.1
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#2F375B
secondary
#8D8359
accent
#B560C8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2F375B

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

Preview Lab → · Contrast checker → · Palette generator →

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