#2F375D#2F375D

#2F375D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.067 H 273.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2F375D
RGBrgb(47, 55, 93)
HSLhsl(230, 33%, 27%)
HSVhsv(230, 49%, 36%)
CMYKcmyk(49.5%, 40.9%, 0%, 63.5%)
CIE-LABlab(24.09, 8.28, -23.79)
CIE-LCHlch(24.09, 25.19, 289.19°)
OKLaboklab(34.86% 0.004 -0.0671)
OKLCHoklch(34.86% 0.067 273.4)
XYZxyz(4.5136, 4.1268, 10.9125)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F375D #5D552F
analogous
#2F4E5D #2F375D #3E2F5D
triadic
#2F375D #5D2F37 #375D2F
tetradic
#2F375D #5D2F4E #5D552F #2F5D3E
square
#2F375D #5D2F4E #5D552F #2F5D3E
split-complementary
#2F375D #5D3E2F #4E5D2F
monochromatic
#0A0C14 #1A1F34 #2F375D #444F86 #5B69AC

Accessibility & contrast

On white

11.50
#2F375D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F375D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F375D#FFFFFF#000000##FFFFFF
##2F375D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5F
Deuteranopia (green-blind)
#25375C
Tritanopia (blue-blind)
#1E3F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f375d;
/* rgb */ color: rgb(47, 55, 93);
/* oklch */ color: oklch(34.9% 0.067 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a6d8b',
    500: '#2f375d',
    950: '#000000',
  },
}
SCSS
$custom: #2f375d;
$custom-light: #6a6d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f375d",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 93
  },
  "hsl": {
    "h": 229.565,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3486,
    "c": 0.06719,
    "h": 273.4
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#2F375D
secondary
#8F8559
accent
#B75FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2F375D

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

Preview Lab → · Contrast checker → · Palette generator →

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