#2F436D#2F436D

#2F436D is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.076 H 263.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2F436D
RGBrgb(47, 67, 109)
HSLhsl(221, 40%, 31%)
HSVhsv(221, 57%, 43%)
CMYKcmyk(56.9%, 38.5%, 0%, 57.3%)
CIE-LABlab(28.70, 5.73, -26.81)
CIE-LCHlch(28.70, 27.41, 282.07°)
OKLaboklab(38.72% -0.0081 -0.0758)
OKLCHoklch(38.72% 0.076 263.9)
XYZxyz(5.9388, 5.7223, 15.2566)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F436D #6D592F
analogous
#2F626D #2F436D #3A2F6D
triadic
#2F436D #6D2F43 #436D2F
tetradic
#2F436D #6D2F62 #6D592F #2F6D3A
square
#2F436D #6D2F62 #6D592F #2F6D3A
split-complementary
#2F436D #6D3A2F #626D2F
monochromatic
#0A0E17 #1D2942 #2F436D #415D98 #5D7BB9

Accessibility & contrast

On white

9.79
#2F436D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F436D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F436D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F436D#FFFFFF#000000##FFFFFF
##2F436D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#2B416C
Tritanopia (blue-blind)
#0D4C52
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f436d;
/* rgb */ color: rgb(47, 67, 109);
/* oklch */ color: oklch(38.7% 0.076 263.9);
Tailwind
colors: {
  custom: {
    50: '#6c7697',
    500: '#2f436d',
    950: '#000000',
  },
}
SCSS
$custom: #2f436d;
$custom-light: #6c7697;
$custom-dark: #000000;
JSON
{
  "hex": "#2f436d",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 109
  },
  "hsl": {
    "h": 220.645,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.07622,
    "h": 263.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#2F436D
secondary
#9E8859
accent
#A958D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F436D

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

Preview Lab → · Contrast checker → · Palette generator →

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