#2F468F#2F468F

#2F468F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.124 H 267.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2F468F
RGBrgb(47, 70, 143)
HSLhsl(226, 51%, 37%)
HSVhsv(226, 67%, 56%)
CMYKcmyk(67.1%, 51%, 0%, 43.9%)
CIE-LABlab(31.73, 16.25, -43.18)
CIE-LCHlch(31.73, 46.14, 290.63°)
OKLaboklab(41.74% -0.0051 -0.1238)
OKLCHoklch(41.74% 0.124 267.6)
XYZxyz(8.3187, 6.9671, 26.8877)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F468F #8F782F
analogous
#2F768F #2F468F #482F8F
triadic
#2F468F #8F2F46 #468F2F
tetradic
#2F468F #8F2F76 #8F782F #2F8F48
square
#2F468F #8F2F76 #8F782F #2F8F48
split-complementary
#2F468F #8F482F #768F2F
monochromatic
#111933 #202F61 #2F468F #3E5DBD #6A82CE

Accessibility & contrast

On white

8.77
#2F468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F468F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F468F#FFFFFF#000000##FFFFFF
##2F468F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f468f;
/* rgb */ color: rgb(47, 70, 143);
/* oklch */ color: oklch(41.7% 0.124 267.6);
Tailwind
colors: {
  custom: {
    50: '#7379b0',
    500: '#2f468f',
    950: '#000000',
  },
}
SCSS
$custom: #2f468f;
$custom-light: #7379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f468f",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 225.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.1239,
    "h": 267.6
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#2F468F
secondary
#B5A265
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F468F

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

Preview Lab → · Contrast checker → · Palette generator →

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