#2F4385#2F4385

#2F4385 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.113 H 268.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2F4385
RGBrgb(47, 67, 133)
HSLhsl(226, 48%, 35%)
HSVhsv(226, 65%, 52%)
CMYKcmyk(64.7%, 49.6%, 0%, 47.8%)
CIE-LABlab(30.19, 14.54, -39.50)
CIE-LCHlch(30.19, 42.10, 290.21°)
OKLaboklab(40.34% -0.0033 -0.113)
OKLCHoklch(40.34% 0.113 268.3)
XYZxyz(7.4116, 6.3115, 23.0134)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4385 #85712F
analogous
#2F6E85 #2F4385 #462F85
triadic
#2F4385 #852F43 #43852F
tetradic
#2F4385 #852F6E #85712F #2F8546
square
#2F4385 #852F6E #85712F #2F8546
split-complementary
#2F4385 #85462F #6E852F
monochromatic
#0F152B #1F2C58 #2F4385 #3F5AB2 #667DC9

Accessibility & contrast

On white

9.28
#2F4385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2F4385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4385
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4385#FFFFFF#000000##FFFFFF
##2F43851.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#104384
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4385;
/* rgb */ color: rgb(47, 67, 133);
/* oklch */ color: oklch(40.3% 0.113 268.3);
Tailwind
colors: {
  custom: {
    50: '#7176a9',
    500: '#2f4385',
    950: '#000000',
  },
}
SCSS
$custom: #2f4385;
$custom-light: #7176a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4385",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 226.047,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.11307,
    "h": 268.3
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#2F4385
secondary
#B09D60
accent
#B850D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4385

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

Preview Lab → · Contrast checker → · Palette generator →

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