#2F437E#2F437E

#2F437E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.102 H 267.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2F437E
RGBrgb(47, 67, 126)
HSLhsl(225, 46%, 34%)
HSVhsv(225, 63%, 49%)
CMYKcmyk(62.7%, 46.8%, 0%, 50.6%)
CIE-LABlab(29.72, 11.94, -35.89)
CIE-LCHlch(29.72, 37.82, 288.40°)
OKLaboklab(39.84% -0.0044 -0.1024)
OKLCHoklch(39.84% 0.102 267.5)
XYZxyz(6.9441, 6.1244, 20.5508)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F437E #7E6A2F
analogous
#2F6B7E #2F437E #432F7E
triadic
#2F437E #7E2F43 #437E2F
tetradic
#2F437E #7E2F6B #7E6A2F #2F7E43
square
#2F437E #7E2F6B #7E6A2F #2F7E43
split-complementary
#2F437E #7E432F #6B7E2F
monochromatic
#0E1425 #1E2B51 #2F437E #405BAB #637CC5

Accessibility & contrast

On white

9.44
#2F437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F437E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F437E#FFFFFF#000000##FFFFFF
##2F437E1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f437e;
/* rgb */ color: rgb(47, 67, 126);
/* oklch */ color: oklch(39.8% 0.102 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f76a4',
    500: '#2f437e',
    950: '#000000',
  },
}
SCSS
$custom: #2f437e;
$custom-light: #6f76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f437e",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 224.81,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.10248,
    "h": 267.5
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#2F437E
secondary
#AC985D
accent
#B452D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F437E

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

Preview Lab → · Contrast checker → · Palette generator →

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