#2F468B#2F468B

#2F468B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.4% C 0.118 H 267.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2F468B
RGBrgb(47, 70, 139)
HSLhsl(225, 49%, 36%)
HSVhsv(225, 66%, 55%)
CMYKcmyk(66.2%, 49.6%, 0%, 45.5%)
CIE-LABlab(31.46, 14.75, -41.16)
CIE-LCHlch(31.46, 43.73, 289.72°)
OKLaboklab(41.44% -0.0056 -0.1178)
OKLCHoklch(41.44% 0.118 267.3)
XYZxyz(8.0210, 6.8480, 25.3202)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F468B #8B742F
analogous
#2F748B #2F468B #462F8B
triadic
#2F468B #8B2F46 #468B2F
tetradic
#2F468B #8B2F74 #8B742F #2F8B46
square
#2F468B #8B2F74 #8B742F #2F8B46
split-complementary
#2F468B #8B462F #748B2F
monochromatic
#101830 #202F5D #2F468B #3E5DB9 #6881CC

Accessibility & contrast

On white

8.86
#2F468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F468B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F468B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F468B#FFFFFF#000000##FFFFFF
##2F468B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8E
Deuteranopia (green-blind)
#0E468A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f468b;
/* rgb */ color: rgb(47, 70, 139);
/* oklch */ color: oklch(41.4% 0.118 267.3);
Tailwind
colors: {
  custom: {
    50: '#7279ad',
    500: '#2f468b',
    950: '#000000',
  },
}
SCSS
$custom: #2f468b;
$custom-light: #7279ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f468b",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 225,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.11799,
    "h": 267.3
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#2F468B
secondary
#B39F63
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F468B

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

Preview Lab → · Contrast checker → · Palette generator →

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