#2F458E#2F458E

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

Color values

HEX#2F458E
RGBrgb(47, 69, 142)
HSLhsl(226, 50%, 37%)
HSVhsv(226, 67%, 56%)
CMYKcmyk(66.9%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.38, 16.55, -43.14)
CIE-LCHlch(31.38, 46.21, 290.99°)
OKLaboklab(41.45% -0.0042 -0.1237)
OKLCHoklch(41.45% 0.124 268)
XYZxyz(8.1812, 6.8128, 26.4698)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F458E #8E782F
analogous
#2F758E #2F458E #482F8E
triadic
#2F458E #8E2F45 #458E2F
tetradic
#2F458E #8E2F75 #8E782F #2F8E48
square
#2F458E #8E2F75 #8E782F #2F8E48
split-complementary
#2F458E #8E482F #758E2F
monochromatic
#111832 #202F60 #2F458E #3E5BBC #6A81CE

Accessibility & contrast

On white

8.89
#2F458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F458E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F458E#FFFFFF#000000##FFFFFF
##2F458E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f458e;
/* rgb */ color: rgb(47, 69, 142);
/* oklch */ color: oklch(41.4% 0.124 268.0);
Tailwind
colors: {
  custom: {
    50: '#7278b0',
    500: '#2f458e',
    950: '#000000',
  },
}
SCSS
$custom: #2f458e;
$custom-light: #7278b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f458e",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 226.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.12375,
    "h": 268
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#2F458E
secondary
#B5A264
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F458E

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

Preview Lab → · Contrast checker → · Palette generator →

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