#2F4273#2F4273

#2F4273 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.087 H 266.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2F4273
RGBrgb(47, 66, 115)
HSLhsl(223, 42%, 32%)
HSVhsv(223, 59%, 45%)
CMYKcmyk(59.1%, 42.6%, 0%, 54.9%)
CIE-LABlab(28.74, 8.57, -30.55)
CIE-LCHlch(28.74, 31.73, 285.68°)
OKLaboklab(38.87% -0.0054 -0.0867)
OKLCHoklch(38.87% 0.087 266.4)
XYZxyz(6.2140, 5.7381, 16.9964)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4273 #73602F
analogous
#2F6473 #2F4273 #3E2F73
triadic
#2F4273 #732F42 #42732F
tetradic
#2F4273 #732F64 #73602F #2F733E
square
#2F4273 #732F64 #73602F #2F733E
split-complementary
#2F4273 #733E2F #64732F
monochromatic
#0B101C #1D2948 #2F4273 #415B9E #5F79BE

Accessibility & contrast

On white

9.78
#2F4273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F4273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4273
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4273#FFFFFF#000000##FFFFFF
##2F42731.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#034D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4273;
/* rgb */ color: rgb(47, 66, 115);
/* oklch */ color: oklch(38.9% 0.087 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d769b',
    500: '#2f4273',
    950: '#000000',
  },
}
SCSS
$custom: #2f4273;
$custom-light: #6d769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4273",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 223.235,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.0869,
    "h": 266.4
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#2F4273
secondary
#A48F5A
accent
#AF56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F4273

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

Preview Lab → · Contrast checker → · Palette generator →

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