#2F456B#2F456B

#2F456B is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.071 H 260.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2F456B
RGBrgb(47, 69, 107)
HSLhsl(218, 39%, 30%)
HSVhsv(218, 56%, 42%)
CMYKcmyk(56.1%, 35.5%, 0%, 58%)
CIE-LABlab(29.21, 3.68, -24.73)
CIE-LCHlch(29.21, 25.00, 278.47°)
OKLaboklab(39.08% -0.0113 -0.0697)
OKLCHoklch(39.08% 0.071 260.8)
XYZxyz(5.9534, 5.9217, 14.7363)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F456B #6B552F
analogous
#2F636B #2F456B #372F6B
triadic
#2F456B #6B2F45 #456B2F
tetradic
#2F456B #6B2F63 #6B552F #2F6B37
square
#2F456B #6B2F63 #6B552F #2F6B37
split-complementary
#2F456B #6B372F #636B2F
monochromatic
#0A0E16 #1C2A40 #2F456B #426096 #5D7EB8

Accessibility & contrast

On white

9.61
#2F456B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2F456B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F456B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F456B#FFFFFF#000000##FFFFFF
##2F456B1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#2F426A
Tritanopia (blue-blind)
#0F4D53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f456b;
/* rgb */ color: rgb(47, 69, 107);
/* oklch */ color: oklch(39.1% 0.071 260.8);
Tailwind
colors: {
  custom: {
    50: '#6c7895',
    500: '#2f456b',
    950: '#000000',
  },
}
SCSS
$custom: #2f456b;
$custom-light: #6c7895;
$custom-dark: #000000;
JSON
{
  "hex": "#2f456b",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 107
  },
  "hsl": {
    "h": 218,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.07062,
    "h": 260.8
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#2F456B
secondary
#9C8459
accent
#A459CF
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F456B

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

Preview Lab → · Contrast checker → · Palette generator →

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