#2F458D#2F458D

#2F458D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.122 H 268.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2F458D
RGBrgb(47, 69, 141)
HSLhsl(226, 50%, 37%)
HSVhsv(226, 67%, 55%)
CMYKcmyk(66.7%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.31, 16.18, -42.64)
CIE-LCHlch(31.31, 45.60, 290.78°)
OKLaboklab(41.37% -0.0044 -0.1222)
OKLCHoklch(41.37% 0.122 268)
XYZxyz(8.1065, 6.7829, 26.0762)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F458D #8D772F
analogous
#2F748D #2F458D #482F8D
triadic
#2F458D #8D2F45 #458D2F
tetradic
#2F458D #8D2F74 #8D772F #2F8D48
square
#2F458D #8D2F74 #8D772F #2F8D48
split-complementary
#2F458D #8D482F #748D2F
monochromatic
#101831 #202F5F #2F458D #3E5BBB #6981CD

Accessibility & contrast

On white

8.91
#2F458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F458D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F458D#FFFFFF#000000##FFFFFF
##2F458D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f458d;
/* rgb */ color: rgb(47, 69, 141);
/* oklch */ color: oklch(41.4% 0.122 268.0);
Tailwind
colors: {
  custom: {
    50: '#7278af',
    500: '#2f458d',
    950: '#000000',
  },
}
SCSS
$custom: #2f458d;
$custom-light: #7278af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f458d",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 225.957,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.12228,
    "h": 268
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#2F458D
secondary
#B4A164
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F458D

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

Preview Lab → · Contrast checker → · Palette generator →

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