#2F458B#2F458B

#2F458B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.119 H 267.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2F458B
RGBrgb(47, 69, 139)
HSLhsl(226, 49%, 36%)
HSVhsv(226, 66%, 55%)
CMYKcmyk(66.2%, 50.4%, 0%, 45.5%)
CIE-LABlab(31.17, 15.43, -41.63)
CIE-LCHlch(31.17, 44.40, 290.34°)
OKLaboklab(41.22% -0.0046 -0.1192)
OKLCHoklch(41.22% 0.119 267.8)
XYZxyz(7.9590, 6.7239, 25.2995)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F458B #8B752F
analogous
#2F738B #2F458B #472F8B
triadic
#2F458B #8B2F45 #458B2F
tetradic
#2F458B #8B2F73 #8B752F #2F8B47
square
#2F458B #8B2F73 #8B752F #2F8B47
split-complementary
#2F458B #8B472F #738B2F
monochromatic
#101830 #202E5D #2F458B #3E5CB9 #6880CC

Accessibility & contrast

On white

8.96
#2F458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F458B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F458B#FFFFFF#000000##FFFFFF
##2F458B1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#09458A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f458b;
/* rgb */ color: rgb(47, 69, 139);
/* oklch */ color: oklch(41.2% 0.119 267.8);
Tailwind
colors: {
  custom: {
    50: '#7278ad',
    500: '#2f458b',
    950: '#000000',
  },
}
SCSS
$custom: #2f458b;
$custom-light: #7278ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f458b",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 225.652,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41223,
    "c": 0.11932,
    "h": 267.8
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#2F458B
secondary
#B3A063
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F458B

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

Preview Lab → · Contrast checker → · Palette generator →

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