#2F468E#2F468E

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

Color values

HEX#2F468E
RGBrgb(47, 70, 142)
HSLhsl(225, 50%, 37%)
HSVhsv(225, 67%, 56%)
CMYKcmyk(66.9%, 50.7%, 0%, 44.3%)
CIE-LABlab(31.66, 15.88, -42.68)
CIE-LCHlch(31.66, 45.54, 290.41°)
OKLaboklab(41.66% -0.0052 -0.1223)
OKLCHoklch(41.66% 0.122 267.5)
XYZxyz(8.2433, 6.9369, 26.4905)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F468E #8E772F
analogous
#2F768E #2F468E #482F8E
triadic
#2F468E #8E2F46 #468E2F
tetradic
#2F468E #8E2F76 #8E772F #2F8E48
square
#2F468E #8E2F76 #8E772F #2F8E48
split-complementary
#2F468E #8E482F #768E2F
monochromatic
#111932 #202F60 #2F468E #3E5DBC #6A82CE

Accessibility & contrast

On white

8.80
#2F468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F468E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F468E#FFFFFF#000000##FFFFFF
##2F468E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#05468D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f468e;
/* rgb */ color: rgb(47, 70, 142);
/* oklch */ color: oklch(41.7% 0.122 267.5);
Tailwind
colors: {
  custom: {
    50: '#7279af',
    500: '#2f468e',
    950: '#000000',
  },
}
SCSS
$custom: #2f468e;
$custom-light: #7279af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f468e",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 225.474,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.12242,
    "h": 267.5
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F468E

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

Preview Lab → · Contrast checker → · Palette generator →

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