#2F456E#2F456E

#2F456E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.075 H 262.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2F456E
RGBrgb(47, 69, 110)
HSLhsl(219, 40%, 31%)
HSVhsv(219, 57%, 43%)
CMYKcmyk(57.3%, 37.3%, 0%, 56.9%)
CIE-LABlab(29.38, 4.75, -26.38)
CIE-LCHlch(29.38, 26.80, 280.20°)
OKLaboklab(39.26% -0.0104 -0.0745)
OKLCHoklch(39.26% 0.075 262)
XYZxyz(6.1139, 5.9859, 15.5820)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F456E #6E582F
analogous
#2F646E #2F456E #392F6E
triadic
#2F456E #6E2F45 #456E2F
tetradic
#2F456E #6E2F64 #6E582F #2F6E39
square
#2F456E #6E2F64 #6E582F #2F6E39
split-complementary
#2F456E #6E392F #646E2F
monochromatic
#0A0F18 #1D2A43 #2F456E #416099 #5D7EBA

Accessibility & contrast

On white

9.56
#2F456E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2F456E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F456E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F456E#FFFFFF#000000##FFFFFF
##2F456E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354870
Deuteranopia (green-blind)
#2D436D
Tritanopia (blue-blind)
#0B4E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f456e;
/* rgb */ color: rgb(47, 69, 110);
/* oklch */ color: oklch(39.3% 0.075 262.0);
Tailwind
colors: {
  custom: {
    50: '#6d7898',
    500: '#2f456e',
    950: '#000000',
  },
}
SCSS
$custom: #2f456e;
$custom-light: #6d7898;
$custom-dark: #000000;
JSON
{
  "hex": "#2f456e",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 219.048,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.07523,
    "h": 262
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#2F456E
secondary
#9F8759
accent
#A658D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F456E

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

Preview Lab → · Contrast checker → · Palette generator →

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