#2F436E#2F436E

#2F436E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.078 H 264.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2F436E
RGBrgb(47, 67, 110)
HSLhsl(221, 40%, 31%)
HSVhsv(221, 57%, 43%)
CMYKcmyk(57.3%, 39.1%, 0%, 56.9%)
CIE-LABlab(28.76, 6.09, -27.35)
CIE-LCHlch(28.76, 28.02, 282.55°)
OKLaboklab(38.78% -0.0078 -0.0774)
OKLCHoklch(38.78% 0.078 264.2)
XYZxyz(5.9930, 5.7440, 15.5417)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F436E #6E5A2F
analogous
#2F626E #2F436E #3A2F6E
triadic
#2F436E #6E2F43 #436E2F
tetradic
#2F436E #6E2F62 #6E5A2F #2F6E3A
square
#2F436E #6E2F62 #6E5A2F #2F6E3A
split-complementary
#2F436E #6E3A2F #626E2F
monochromatic
#0A0F18 #1D2943 #2F436E #415D99 #5D7BBA

Accessibility & contrast

On white

9.77
#2F436E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F436E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F436E#FFFFFF#000000##FFFFFF
##2F436E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#0B4C53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f436e;
/* rgb */ color: rgb(47, 67, 110);
/* oklch */ color: oklch(38.8% 0.078 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d7698',
    500: '#2f436e',
    950: '#000000',
  },
}
SCSS
$custom: #2f436e;
$custom-light: #6d7698;
$custom-dark: #000000;
JSON
{
  "hex": "#2f436e",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 110
  },
  "hsl": {
    "h": 220.952,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.07779,
    "h": 264.2
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#2F436E
secondary
#9F8959
accent
#AA58D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F436E

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

Preview Lab → · Contrast checker → · Palette generator →

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