#2F437B#2F437B

#2F437B is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.098 H 267.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2F437B
RGBrgb(47, 67, 123)
HSLhsl(224, 45%, 33%)
HSVhsv(224, 62%, 48%)
CMYKcmyk(61.8%, 45.5%, 0%, 51.8%)
CIE-LABlab(29.53, 10.83, -34.32)
CIE-LCHlch(29.53, 35.98, 287.51°)
OKLaboklab(39.63% -0.005 -0.0978)
OKLCHoklch(39.63% 0.098 267.1)
XYZxyz(6.7534, 6.0482, 19.5466)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F437B #7B672F
analogous
#2F697B #2F437B #412F7B
triadic
#2F437B #7B2F43 #437B2F
tetradic
#2F437B #7B2F69 #7B672F #2F7B41
square
#2F437B #7B2F69 #7B672F #2F7B41
split-complementary
#2F437B #7B412F #697B2F
monochromatic
#0D1322 #1E2B4F #2F437B #405BA7 #627BC3

Accessibility & contrast

On white

9.50
#2F437B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F437B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F437B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F437B#FFFFFF#000000##FFFFFF
##2F437B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#1F427A
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f437b;
/* rgb */ color: rgb(47, 67, 123);
/* oklch */ color: oklch(39.6% 0.098 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f76a1',
    500: '#2f437b',
    950: '#000000',
  },
}
SCSS
$custom: #2f437b;
$custom-light: #6f76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f437b",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 123
  },
  "hsl": {
    "h": 224.211,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.0979,
    "h": 267.1
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#2F437B
secondary
#AA955C
accent
#B253D4
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F437B

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

Preview Lab → · Contrast checker → · Palette generator →

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