#2F3D63#2F3D63

#2F3D63 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.068 H 267.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2F3D63
RGBrgb(47, 61, 99)
HSLhsl(224, 36%, 29%)
HSVhsv(224, 53%, 39%)
CMYKcmyk(52.5%, 38.4%, 0%, 61.2%)
CIE-LABlab(26.28, 6.25, -24.22)
CIE-LCHlch(26.28, 25.02, 284.47°)
OKLaboklab(36.66% -0.0028 -0.0683)
OKLCHoklch(36.66% 0.068 267.6)
XYZxyz(5.0924, 4.8423, 12.4683)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D63 #63552F
analogous
#2F5763 #2F3D63 #3B2F63
triadic
#2F3D63 #632F3D #3D632F
tetradic
#2F3D63 #632F57 #63552F #2F633B
square
#2F3D63 #632F57 #63552F #2F633B
split-complementary
#2F3D63 #633B2F #57632F
monochromatic
#0A0D15 #1B2339 #2F3D63 #43578C #5B72B1

Accessibility & contrast

On white

10.67
#2F3D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F3D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D63
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D63#FFFFFF#000000##FFFFFF
##2F3D631.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4165
Deuteranopia (green-blind)
#293C62
Tritanopia (blue-blind)
#19454B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3d63;
/* rgb */ color: rgb(47, 61, 99);
/* oklch */ color: oklch(36.7% 0.068 267.6);
Tailwind
colors: {
  custom: {
    50: '#6b728f',
    500: '#2f3d63',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d63;
$custom-light: #6b728f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d63",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 99
  },
  "hsl": {
    "h": 223.846,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36664,
    "c": 0.06836,
    "h": 267.6
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#2F3D63
secondary
#958559
accent
#AE5CCC
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2F3D63

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

Preview Lab → · Contrast checker → · Palette generator →

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