#2F436F#2F436F

#2F436F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.8% C 0.079 H 264.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2F436F
RGBrgb(47, 67, 111)
HSLhsl(221, 41%, 31%)
HSVhsv(221, 58%, 44%)
CMYKcmyk(57.7%, 39.6%, 0%, 56.5%)
CIE-LABlab(28.81, 6.45, -27.90)
CIE-LCHlch(28.81, 28.64, 283.01°)
OKLaboklab(38.85% -0.0076 -0.079)
OKLCHoklch(38.85% 0.079 264.5)
XYZxyz(6.0477, 5.7659, 15.8301)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F436F #6F5B2F
analogous
#2F636F #2F436F #3B2F6F
triadic
#2F436F #6F2F43 #436F2F
tetradic
#2F436F #6F2F63 #6F5B2F #2F6F3B
square
#2F436F #6F2F63 #6F5B2F #2F6F3B
split-complementary
#2F436F #6F3B2F #636F2F
monochromatic
#0B0F19 #1D2944 #2F436F #415D9A #5E7BBB

Accessibility & contrast

On white

9.75
#2F436F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F436F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F436F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F436F#FFFFFF#000000##FFFFFF
##2F436F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#29416E
Tritanopia (blue-blind)
#0A4D53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f436f;
/* rgb */ color: rgb(47, 67, 111);
/* oklch */ color: oklch(38.8% 0.079 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d7698',
    500: '#2f436f',
    950: '#000000',
  },
}
SCSS
$custom: #2f436f;
$custom-light: #6d7698;
$custom-dark: #000000;
JSON
{
  "hex": "#2f436f",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 111
  },
  "hsl": {
    "h": 221.25,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.07934,
    "h": 264.5
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#2F436F
secondary
#A08A59
accent
#AB57D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F436F

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

Preview Lab → · Contrast checker → · Palette generator →

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