#2F375E#2F375E

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

Color values

HEX#2F375E
RGBrgb(47, 55, 94)
HSLhsl(230, 33%, 28%)
HSVhsv(230, 50%, 37%)
CMYKcmyk(50%, 41.5%, 0%, 63.1%)
CIE-LABlab(24.14, 8.62, -24.35)
CIE-LCHlch(24.14, 25.83, 289.50°)
OKLaboklab(34.92% 0.0043 -0.0687)
OKLCHoklch(34.92% 0.069 273.6)
XYZxyz(4.5582, 4.1446, 11.1473)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F375E #5E562F
analogous
#2F4E5E #2F375E #3E2F5E
triadic
#2F375E #5E2F37 #375E2F
tetradic
#2F375E #5E2F4E #5E562F #2F5E3E
square
#2F375E #5E2F4E #5E562F #2F5E3E
split-complementary
#2F375E #5E3E2F #4E5E2F
monochromatic
#0A0C14 #1B1F35 #2F375E #434F87 #5B69AD

Accessibility & contrast

On white

11.48
#2F375E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F375E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F375E#FFFFFF#000000##FFFFFF
##2F375E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#24385D
Tritanopia (blue-blind)
#1E3F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f375e;
/* rgb */ color: rgb(47, 55, 94);
/* oklch */ color: oklch(34.9% 0.069 273.6);
Tailwind
colors: {
  custom: {
    50: '#6a6d8c',
    500: '#2f375e',
    950: '#000000',
  },
}
SCSS
$custom: #2f375e;
$custom-light: #6a6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f375e",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 94
  },
  "hsl": {
    "h": 229.787,
    "s": 33.333,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34923,
    "c": 0.06884,
    "h": 273.6
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#2F375E
secondary
#908659
accent
#B75EC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2F375E

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

Preview Lab → · Contrast checker → · Palette generator →

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