#2F497B#2F497B

#2F497B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.090 H 262.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2F497B
RGBrgb(47, 73, 123)
HSLhsl(219, 45%, 33%)
HSVhsv(219, 62%, 48%)
CMYKcmyk(61.8%, 40.7%, 0%, 51.8%)
CIE-LABlab(31.34, 6.79, -31.44)
CIE-LCHlch(31.34, 32.16, 282.19°)
OKLaboklab(41.03% -0.012 -0.0892)
OKLCHoklch(41.03% 0.09 262.4)
XYZxyz(7.1287, 6.7989, 19.6717)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F497B #7B612F
analogous
#2F6F7B #2F497B #3B2F7B
triadic
#2F497B #7B2F49 #497B2F
tetradic
#2F497B #7B2F6F #7B612F #2F7B3B
square
#2F497B #7B2F6F #7B612F #2F7B3B
split-complementary
#2F497B #7B3B2F #6F7B2F
monochromatic
#0D1422 #1E2F4F #2F497B #4063A7 #6283C3

Accessibility & contrast

On white

8.90
#2F497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F497B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F497B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F497B#FFFFFF#000000##FFFFFF
##2F497B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#29477A
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f497b;
/* rgb */ color: rgb(47, 73, 123);
/* oklch */ color: oklch(41.0% 0.090 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7ba1',
    500: '#2f497b',
    950: '#000000',
  },
}
SCSS
$custom: #2f497b;
$custom-light: #6f7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f497b",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 219.474,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4103,
    "c": 0.09005,
    "h": 262.4
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#2F497B
secondary
#AA8F5C
accent
#A853D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2F497B

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

Preview Lab → · Contrast checker → · Palette generator →

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