#2F459E#2F459E

#2F459E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.147 H 268.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2F459E
RGBrgb(47, 69, 158)
HSLhsl(228, 54%, 40%)
HSVhsv(228, 70%, 62%)
CMYKcmyk(70.3%, 56.3%, 0%, 38%)
CIE-LABlab(32.54, 22.56, -51.00)
CIE-LCHlch(32.54, 55.76, 293.86°)
OKLaboklab(42.7% -0.0029 -0.1468)
OKLCHoklch(42.7% 0.147 268.9)
XYZxyz(9.4698, 7.3283, 33.2566)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F459E #9E882F
analogous
#2F7C9E #2F459E #502F9E
triadic
#2F459E #9E2F45 #459E2F
tetradic
#2F459E #9E2F7C #9E882F #2F9E50
square
#2F459E #9E2F7C #9E882F #2F9E50
split-complementary
#2F459E #9E502F #7C9E2F
monochromatic
#131C40 #21306F #2F459E #435DC7 #7286D5

Accessibility & contrast

On white

8.52
#2F459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F459E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F459E#FFFFFF#000000##FFFFFF
##2F459E1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f459e;
/* rgb */ color: rgb(47, 69, 158);
/* oklch */ color: oklch(42.7% 0.147 268.9);
Tailwind
colors: {
  custom: {
    50: '#7678bb',
    500: '#2f459e',
    950: '#000000',
  },
}
SCSS
$custom: #2f459e;
$custom-light: #7678bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f459e",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 228.108,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.14683,
    "h": 268.9
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#2F459E
secondary
#BDAD6C
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F459E

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

Preview Lab → · Contrast checker → · Palette generator →

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