#2F4697#2F4697

#2F4697 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.136 H 268.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2F4697
RGBrgb(47, 70, 151)
HSLhsl(227, 53%, 39%)
HSVhsv(227, 69%, 59%)
CMYKcmyk(68.9%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.30, 19.26, -47.15)
CIE-LCHlch(32.30, 50.93, 292.22°)
OKLaboklab(42.35% -0.0043 -0.1355)
OKLCHoklch(42.35% 0.136 268.2)
XYZxyz(8.9464, 7.2182, 30.1939)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4697 #97802F
analogous
#2F7A97 #2F4697 #4C2F97
triadic
#2F4697 #972F46 #46972F
tetradic
#2F4697 #972F7A #97802F #2F974C
square
#2F4697 #972F7A #97802F #2F974C
split-complementary
#2F4697 #974C2F #7A972F
monochromatic
#121B3A #203068 #2F4697 #405DC3 #6E84D2

Accessibility & contrast

On white

8.59
#2F4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4697
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4697#FFFFFF#000000##FFFFFF
##2F46971.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4697;
/* rgb */ color: rgb(47, 70, 151);
/* oklch */ color: oklch(42.3% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#7479b6',
    500: '#2f4697',
    950: '#000000',
  },
}
SCSS
$custom: #2f4697;
$custom-light: #7479b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4697",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 226.731,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.13553,
    "h": 268.2
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#2F4697
secondary
#B9A768
accent
#BC4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4697

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

Preview Lab → · Contrast checker → · Palette generator →

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