#2F3563#2F3563

#2F3563 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.080 H 275.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2F3563
RGBrgb(47, 53, 99)
HSLhsl(233, 36%, 29%)
HSVhsv(233, 53%, 39%)
CMYKcmyk(52.5%, 46.5%, 0%, 61.2%)
CIE-LABlab(23.84, 11.76, -28.09)
CIE-LCHlch(23.84, 30.45, 292.72°)
OKLaboklab(34.79% 0.0081 -0.0796)
OKLCHoklch(34.79% 0.08 275.8)
XYZxyz(4.6968, 4.0511, 12.3364)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3563 #635D2F
analogous
#2F4F63 #2F3563 #432F63
triadic
#2F3563 #632F35 #35632F
tetradic
#2F3563 #632F4F #635D2F #2F6343
square
#2F3563 #632F4F #635D2F #2F6343
split-complementary
#2F3563 #63432F #4F632F
monochromatic
#0A0B15 #1B1F39 #2F3563 #434B8C #5B65B1

Accessibility & contrast

On white

11.60
#2F3563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F3563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3563
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3563#FFFFFF#000000##FFFFFF
##2F35631.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#1E3762
Tritanopia (blue-blind)
#1B3F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3563;
/* rgb */ color: rgb(47, 53, 99);
/* oklch */ color: oklch(34.8% 0.080 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b6c90',
    500: '#2f3563',
    950: '#000000',
  },
}
SCSS
$custom: #2f3563;
$custom-light: #6b6c90;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3563",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 99
  },
  "hsl": {
    "h": 233.077,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.08006,
    "h": 275.8
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2F3563
secondary
#958E59
accent
#BF5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2F3563

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

Preview Lab → · Contrast checker → · Palette generator →

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