#2F437C#2F437C

#2F437C is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.099 H 267.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2F437C
RGBrgb(47, 67, 124)
HSLhsl(224, 45%, 34%)
HSVhsv(224, 62%, 49%)
CMYKcmyk(62.1%, 46%, 0%, 51.4%)
CIE-LABlab(29.60, 11.20, -34.84)
CIE-LCHlch(29.60, 36.60, 287.81°)
OKLaboklab(39.7% -0.0048 -0.0993)
OKLCHoklch(39.7% 0.099 267.3)
XYZxyz(6.8163, 6.0733, 19.8779)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F437C #7C682F
analogous
#2F697C #2F437C #412F7C
triadic
#2F437C #7C2F43 #437C2F
tetradic
#2F437C #7C2F69 #7C682F #2F7C41
square
#2F437C #7C2F69 #7C682F #2F7C41
split-complementary
#2F437C #7C412F #697C2F
monochromatic
#0D1323 #1E2B50 #2F437C #405BA8 #627BC3

Accessibility & contrast

On white

9.48
#2F437C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F437C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F437C#FFFFFF#000000##FFFFFF
##2F437C1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497E
Deuteranopia (green-blind)
#1E427B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f437c;
/* rgb */ color: rgb(47, 67, 124);
/* oklch */ color: oklch(39.7% 0.099 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f76a2',
    500: '#2f437c',
    950: '#000000',
  },
}
SCSS
$custom: #2f437c;
$custom-light: #6f76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f437c",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 224.416,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.09943,
    "h": 267.3
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#2F437C
secondary
#AA965C
accent
#B353D5
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F437C

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

Preview Lab → · Contrast checker → · Palette generator →

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