#2F497C#2F497C

#2F497C is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.092 H 262.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F497C
RGBrgb(47, 73, 124)
HSLhsl(220, 45%, 34%)
HSVhsv(220, 62%, 49%)
CMYKcmyk(62.1%, 41.1%, 0%, 51.4%)
CIE-LABlab(31.40, 7.16, -31.97)
CIE-LCHlch(31.40, 32.76, 282.62°)
OKLaboklab(41.09% -0.0117 -0.0908)
OKLCHoklch(41.09% 0.092 262.6)
XYZxyz(7.1917, 6.8240, 20.0031)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F497C #7C622F
analogous
#2F6F7C #2F497C #3B2F7C
triadic
#2F497C #7C2F49 #497C2F
tetradic
#2F497C #7C2F6F #7C622F #2F7C3B
square
#2F497C #7C2F6F #7C622F #2F7C3B
split-complementary
#2F497C #7C3B2F #6F7C2F
monochromatic
#0D1523 #1E2F50 #2F497C #4063A8 #6283C3

Accessibility & contrast

On white

8.88
#2F497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F497C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F497C#FFFFFF#000000##FFFFFF
##2F497C1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f497c;
/* rgb */ color: rgb(47, 73, 124);
/* oklch */ color: oklch(41.1% 0.092 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f7ba2',
    500: '#2f497c',
    950: '#000000',
  },
}
SCSS
$custom: #2f497c;
$custom-light: #6f7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f497c",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 219.74,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.09156,
    "h": 262.6
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#2F497C
secondary
#AA905C
accent
#A953D5
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F497C

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

Preview Lab → · Contrast checker → · Palette generator →

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