#2F468C#2F468C

#2F468C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.119 H 267.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F468C
RGBrgb(47, 70, 140)
HSLhsl(225, 50%, 37%)
HSVhsv(225, 66%, 55%)
CMYKcmyk(66.4%, 50%, 0%, 45.1%)
CIE-LABlab(31.53, 15.13, -41.67)
CIE-LCHlch(31.53, 44.33, 289.95°)
OKLaboklab(41.52% -0.0055 -0.1193)
OKLCHoklch(41.52% 0.119 267.4)
XYZxyz(8.0944, 6.8774, 25.7068)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F468C #8C752F
analogous
#2F758C #2F468C #472F8C
triadic
#2F468C #8C2F46 #468C2F
tetradic
#2F468C #8C2F75 #8C752F #2F8C47
square
#2F468C #8C2F75 #8C752F #2F8C47
split-complementary
#2F468C #8C472F #758C2F
monochromatic
#101830 #202F5E #2F468C #3E5DBA #6981CD

Accessibility & contrast

On white

8.84
#2F468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F468C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F468C#FFFFFF#000000##FFFFFF
##2F468C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f468c;
/* rgb */ color: rgb(47, 70, 140);
/* oklch */ color: oklch(41.5% 0.119 267.4);
Tailwind
colors: {
  custom: {
    50: '#7279ae',
    500: '#2f468c',
    950: '#000000',
  },
}
SCSS
$custom: #2f468c;
$custom-light: #7279ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f468c",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 225.161,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.11947,
    "h": 267.4
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#2F468C
secondary
#B4A063
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F468C

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

Preview Lab → · Contrast checker → · Palette generator →

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