#2F4484#2F4484

#2F4484 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.110 H 267.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2F4484
RGBrgb(47, 68, 132)
HSLhsl(225, 47%, 35%)
HSVhsv(225, 64%, 52%)
CMYKcmyk(64.4%, 48.5%, 0%, 48.2%)
CIE-LABlab(30.41, 13.49, -38.52)
CIE-LCHlch(30.41, 40.82, 289.30°)
OKLaboklab(40.49% -0.0045 -0.1101)
OKLCHoklch(40.49% 0.11 267.6)
XYZxyz(7.4028, 6.4039, 22.6713)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4484 #846F2F
analogous
#2F6F84 #2F4484 #442F84
triadic
#2F4484 #842F44 #44842F
tetradic
#2F4484 #842F6F #846F2F #2F8444
square
#2F4484 #842F6F #846F2F #2F8444
split-complementary
#2F4484 #84442F #6F842F
monochromatic
#0F162A #1F2D57 #2F4484 #3F5BB1 #657EC8

Accessibility & contrast

On white

9.21
#2F4484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F4484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4484
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4484#FFFFFF#000000##FFFFFF
##2F44841.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C86
Deuteranopia (green-blind)
#154483
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4484;
/* rgb */ color: rgb(47, 68, 132);
/* oklch */ color: oklch(40.5% 0.110 267.6);
Tailwind
colors: {
  custom: {
    50: '#7077a8',
    500: '#2f4484',
    950: '#000000',
  },
}
SCSS
$custom: #2f4484;
$custom-light: #7077a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4484",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 132
  },
  "hsl": {
    "h": 225.176,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.11021,
    "h": 267.6
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#2F4484
secondary
#AF9C60
accent
#B651D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4484

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

Preview Lab → · Contrast checker → · Palette generator →

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