#3F458C#3F458C

#3F458C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.4% C 0.116 H 276.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3F458C
RGBrgb(63, 69, 140)
HSLhsl(235, 38%, 40%)
HSVhsv(235, 55%, 55%)
CMYKcmyk(55%, 50.7%, 0%, 45.1%)
CIE-LABlab(32.27, 19.07, -40.42)
CIE-LCHlch(32.27, 44.69, 295.26°)
OKLaboklab(42.35% 0.0134 -0.1153)
OKLCHoklch(42.35% 0.116 276.6)
XYZxyz(8.9101, 7.2059, 25.7272)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F458C #8C863F
analogous
#3F6B8C #3F458C #603F8C
triadic
#3F458C #8C3F45 #458C3F
tetradic
#3F458C #8C3F6B #8C863F #3F8C60
square
#3F458C #8C3F6B #8C863F #3F8C60
split-complementary
#3F458C #8C603F #6B8C3F
monochromatic
#191B38 #2C3062 #3F458C #555DB3 #8085C6

Accessibility & contrast

On white

8.60
#3F458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F458C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F458C#FFFFFF#000000##FFFFFF
##3F458C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#19498A
Tritanopia (blue-blind)
#1B5562
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f458c;
/* rgb */ color: rgb(63, 69, 140);
/* oklch */ color: oklch(42.4% 0.116 276.6);
Tailwind
colors: {
  custom: {
    50: '#7a78ae',
    500: '#3f458c',
    950: '#000000',
  },
}
SCSS
$custom: #3f458c;
$custom-light: #7a78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f458c",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 235.325,
    "s": 37.931,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.11606,
    "h": 276.6
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#3F458C
secondary
#B0AC77
accent
#C55ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F458C

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

Preview Lab → · Contrast checker → · Palette generator →

#3F458C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva