#2F456D#2F456D

#2F456D is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.2% C 0.074 H 261.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2F456D
RGBrgb(47, 69, 109)
HSLhsl(219, 40%, 31%)
HSVhsv(219, 57%, 43%)
CMYKcmyk(56.9%, 36.7%, 0%, 57.3%)
CIE-LABlab(29.32, 4.39, -25.83)
CIE-LCHlch(29.32, 26.20, 279.65°)
OKLaboklab(39.2% -0.0107 -0.0729)
OKLCHoklch(39.2% 0.074 261.7)
XYZxyz(6.0598, 5.9642, 15.2969)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F456D #6D572F
analogous
#2F646D #2F456D #382F6D
triadic
#2F456D #6D2F45 #456D2F
tetradic
#2F456D #6D2F64 #6D572F #2F6D38
square
#2F456D #6D2F64 #6D572F #2F6D38
split-complementary
#2F456D #6D382F #646D2F
monochromatic
#0A0F17 #1D2A42 #2F456D #416098 #5D7EB9

Accessibility & contrast

On white

9.58
#2F456D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F456D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F456D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F456D#FFFFFF#000000##FFFFFF
##2F456D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#2E426C
Tritanopia (blue-blind)
#0C4E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f456d;
/* rgb */ color: rgb(47, 69, 109);
/* oklch */ color: oklch(39.2% 0.074 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c7897',
    500: '#2f456d',
    950: '#000000',
  },
}
SCSS
$custom: #2f456d;
$custom-light: #6c7897;
$custom-dark: #000000;
JSON
{
  "hex": "#2f456d",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 109
  },
  "hsl": {
    "h": 218.71,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39203,
    "c": 0.0737,
    "h": 261.7
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#2F456D
secondary
#9E8659
accent
#A558D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F456D

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

Preview Lab → · Contrast checker → · Palette generator →

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