#2F345B#2F345B

#2F345B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.068 H 276.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2F345B
RGBrgb(47, 52, 91)
HSLhsl(233, 32%, 27%)
HSVhsv(233, 48%, 36%)
CMYKcmyk(48.4%, 42.9%, 0%, 64.3%)
CIE-LABlab(23.05, 9.67, -24.11)
CIE-LCHlch(23.05, 25.98, 291.85°)
OKLaboklab(34.03% 0.0079 -0.068)
OKLCHoklch(34.03% 0.068 276.6)
XYZxyz(4.2880, 3.8154, 10.4060)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F345B #5B562F
analogous
#2F4A5B #2F345B #402F5B
triadic
#2F345B #5B2F34 #345B2F
tetradic
#2F345B #5B2F4A #5B562F #2F5B40
square
#2F345B #5B2F4A #5B562F #2F5B40
split-complementary
#2F345B #5B402F #4A5B2F
monochromatic
#0A0C14 #1A1D33 #2F345B #444B83 #5A63AA

Accessibility & contrast

On white

11.91
#2F345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2F345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F345B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F345B#FFFFFF#000000##FFFFFF
##2F345B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395D
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#203C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f345b;
/* rgb */ color: rgb(47, 52, 91);
/* oklch */ color: oklch(34.0% 0.068 276.6);
Tailwind
colors: {
  custom: {
    50: '#6a6b89',
    500: '#2f345b',
    950: '#000000',
  },
}
SCSS
$custom: #2f345b;
$custom-light: #6a6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#2f345b",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 233.182,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34028,
    "c": 0.06848,
    "h": 276.6
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#2F345B
secondary
#8D8759
accent
#BC60C8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #2F345B

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

Preview Lab → · Contrast checker → · Palette generator →

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