#2F3D64#2F3D64

#2F3D64 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.070 H 267.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2F3D64
RGBrgb(47, 61, 100)
HSLhsl(224, 36%, 29%)
HSVhsv(224, 53%, 39%)
CMYKcmyk(53%, 39%, 0%, 60.8%)
CIE-LABlab(26.34, 6.60, -24.78)
CIE-LCHlch(26.34, 25.64, 284.91°)
OKLaboklab(36.73% -0.0026 -0.0699)
OKLCHoklch(36.73% 0.07 267.9)
XYZxyz(5.1405, 4.8616, 12.7216)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D64 #64562F
analogous
#2F5864 #2F3D64 #3C2F64
triadic
#2F3D64 #642F3D #3D642F
tetradic
#2F3D64 #642F58 #64562F #2F643C
square
#2F3D64 #642F58 #64562F #2F643C
split-complementary
#2F3D64 #643C2F #58642F
monochromatic
#0A0D15 #1B243A #2F3D64 #43568E #5B72B2

Accessibility & contrast

On white

10.65
#2F3D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D64
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D64#FFFFFF#000000##FFFFFF
##2F3D641.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#283C63
Tritanopia (blue-blind)
#18454B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3d64;
/* rgb */ color: rgb(47, 61, 100);
/* oklch */ color: oklch(36.7% 0.070 267.9);
Tailwind
colors: {
  custom: {
    50: '#6b7290',
    500: '#2f3d64',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d64;
$custom-light: #6b7290;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d64",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 224.151,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.06997,
    "h": 267.9
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3D64

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

Preview Lab → · Contrast checker → · Palette generator →

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