#2F468D#2F468D

#2F468D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.121 H 267.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2F468D
RGBrgb(47, 70, 141)
HSLhsl(225, 50%, 37%)
HSVhsv(225, 67%, 55%)
CMYKcmyk(66.7%, 50.4%, 0%, 44.7%)
CIE-LABlab(31.59, 15.50, -42.17)
CIE-LCHlch(31.59, 44.93, 290.18°)
OKLaboklab(41.59% -0.0054 -0.1208)
OKLCHoklch(41.59% 0.121 267.5)
XYZxyz(8.1685, 6.9070, 26.0968)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F468D #8D762F
analogous
#2F758D #2F468D #472F8D
triadic
#2F468D #8D2F46 #468D2F
tetradic
#2F468D #8D2F75 #8D762F #2F8D47
square
#2F468D #8D2F75 #8D762F #2F8D47
split-complementary
#2F468D #8D472F #758D2F
monochromatic
#101831 #202F5F #2F468D #3E5DBB #6982CD

Accessibility & contrast

On white

8.82
#2F468D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F468D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F468D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F468D#FFFFFF#000000##FFFFFF
##2F468D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f468d;
/* rgb */ color: rgb(47, 70, 141);
/* oklch */ color: oklch(41.6% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#7279af',
    500: '#2f468d',
    950: '#000000',
  },
}
SCSS
$custom: #2f468d;
$custom-light: #7279af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f468d",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 141
  },
  "hsl": {
    "h": 225.319,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.12095,
    "h": 267.5
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#2F468D
secondary
#B4A064
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F468D

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

Preview Lab → · Contrast checker → · Palette generator →

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