#2F4285#2F4285

#2F4285 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.114 H 268.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2F4285
RGBrgb(47, 66, 133)
HSLhsl(227, 48%, 35%)
HSVhsv(227, 65%, 52%)
CMYKcmyk(64.7%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.90, 15.22, -39.97)
CIE-LCHlch(29.90, 42.77, 290.85°)
OKLaboklab(40.12% -0.0022 -0.1144)
OKLCHoklch(40.12% 0.114 268.9)
XYZxyz(7.3527, 6.1936, 22.9938)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4285 #85722F
analogous
#2F6D85 #2F4285 #472F85
triadic
#2F4285 #852F42 #42852F
tetradic
#2F4285 #852F6D #85722F #2F8547
square
#2F4285 #852F6D #85722F #2F8547
split-complementary
#2F4285 #85472F #6D852F
monochromatic
#0F152B #1F2C58 #2F4285 #3F58B2 #667CC9

Accessibility & contrast

On white

9.38
#2F4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4285
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4285#FFFFFF#000000##FFFFFF
##2F42851.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#0D4384
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4285;
/* rgb */ color: rgb(47, 66, 133);
/* oklch */ color: oklch(40.1% 0.114 268.9);
Tailwind
colors: {
  custom: {
    50: '#7176a9',
    500: '#2f4285',
    950: '#000000',
  },
}
SCSS
$custom: #2f4285;
$custom-light: #7176a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4285",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 226.744,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.11442,
    "h": 268.9
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#2F4285
secondary
#B09E60
accent
#BA50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4285

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

Preview Lab → · Contrast checker → · Palette generator →

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