#2F4283#2F4283

#2F4283 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.111 H 268.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2F4283
RGBrgb(47, 66, 131)
HSLhsl(226, 47%, 35%)
HSVhsv(226, 64%, 51%)
CMYKcmyk(64.1%, 49.6%, 0%, 48.6%)
CIE-LABlab(29.76, 14.47, -38.95)
CIE-LCHlch(29.76, 41.55, 290.39°)
OKLaboklab(39.98% -0.0025 -0.1114)
OKLCHoklch(39.98% 0.111 268.7)
XYZxyz(7.2159, 6.1388, 22.2730)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4283 #83702F
analogous
#2F6C83 #2F4283 #462F83
triadic
#2F4283 #832F42 #42832F
tetradic
#2F4283 #832F6C #83702F #2F8346
square
#2F4283 #832F6C #83702F #2F8346
split-complementary
#2F4283 #83462F #6C832F
monochromatic
#0F1529 #1F2B56 #2F4283 #3F59B0 #657BC8

Accessibility & contrast

On white

9.43
#2F4283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F4283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4283
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4283#FFFFFF#000000##FFFFFF
##2F42831.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#114382
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4283;
/* rgb */ color: rgb(47, 66, 131);
/* oklch */ color: oklch(40.0% 0.111 268.7);
Tailwind
colors: {
  custom: {
    50: '#7076a7',
    500: '#2f4283',
    950: '#000000',
  },
}
SCSS
$custom: #2f4283;
$custom-light: #7076a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4283",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 226.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.11142,
    "h": 268.7
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#2F4283
secondary
#AF9D5F
accent
#B951D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4283

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

Preview Lab → · Contrast checker → · Palette generator →

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