#2F426A#2F426A

#2F426A is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.073 H 264.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2F426A
RGBrgb(47, 66, 106)
HSLhsl(221, 39%, 30%)
HSVhsv(221, 56%, 42%)
CMYKcmyk(55.7%, 37.7%, 0%, 58.4%)
CIE-LABlab(28.22, 5.33, -25.65)
CIE-LCHlch(28.22, 26.20, 281.75°)
OKLaboklab(38.3% -0.0076 -0.0724)
OKLCHoklch(38.3% 0.073 264)
XYZxyz(5.7212, 5.5410, 14.4009)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F426A #6A572F
analogous
#2F5F6A #2F426A #3A2F6A
triadic
#2F426A #6A2F42 #426A2F
tetradic
#2F426A #6A2F5F #6A572F #2F6A3A
square
#2F426A #6A2F5F #6A572F #2F6A3A
split-complementary
#2F426A #6A3A2F #5F6A2F
monochromatic
#090D15 #1C2840 #2F426A #425C94 #5C7AB7

Accessibility & contrast

On white

9.96
#2F426A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F426A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F426A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F426A#FFFFFF#000000##FFFFFF
##2F426A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466C
Deuteranopia (green-blind)
#2B4069
Tritanopia (blue-blind)
#114B51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f426a;
/* rgb */ color: rgb(47, 66, 106);
/* oklch */ color: oklch(38.3% 0.073 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c7695',
    500: '#2f426a',
    950: '#000000',
  },
}
SCSS
$custom: #2f426a;
$custom-light: #6c7695;
$custom-dark: #000000;
JSON
{
  "hex": "#2f426a",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 106
  },
  "hsl": {
    "h": 220.678,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.07283,
    "h": 264
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#2F426A
secondary
#9B8659
accent
#A959CE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F426A

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

Preview Lab → · Contrast checker → · Palette generator →

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