#2F346B#2F346B

#2F346B is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.094 H 276.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2F346B
RGBrgb(47, 52, 107)
HSLhsl(235, 39%, 30%)
HSVhsv(235, 56%, 42%)
CMYKcmyk(56.1%, 51.4%, 0%, 58%)
CIE-LABlab(24.07, 15.30, -32.90)
CIE-LCHlch(24.07, 36.28, 294.94°)
OKLaboklab(35.13% 0.0107 -0.0938)
OKLCHoklch(35.13% 0.094 276.5)
XYZxyz(5.0533, 4.1215, 14.4363)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F346B #6B662F
analogous
#2F526B #2F346B #482F6B
triadic
#2F346B #6B2F34 #346B2F
tetradic
#2F346B #6B2F52 #6B662F #2F6B48
square
#2F346B #6B2F52 #6B662F #2F6B48
split-complementary
#2F346B #6B482F #526B2F
monochromatic
#0A0B16 #1C1F40 #2F346B #424996 #5D64B8

Accessibility & contrast

On white

11.51
#2F346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F346B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F346B#FFFFFF#000000##FFFFFF
##2F346B1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#13376A
Tritanopia (blue-blind)
#14404A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f346b;
/* rgb */ color: rgb(47, 52, 107);
/* oklch */ color: oklch(35.1% 0.094 276.5);
Tailwind
colors: {
  custom: {
    50: '#6d6b96',
    500: '#2f346b',
    950: '#000000',
  },
}
SCSS
$custom: #2f346b;
$custom-light: #6d6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f346b",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 235,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35132,
    "c": 0.09438,
    "h": 276.5
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#2F346B
secondary
#9C9759
accent
#C559CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F346B

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

Preview Lab → · Contrast checker → · Palette generator →

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