#2F3E63#2F3E63

#2F3E63 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 36.9% C 0.067 H 266.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2F3E63
RGBrgb(47, 62, 99)
HSLhsl(223, 36%, 29%)
HSVhsv(223, 53%, 39%)
CMYKcmyk(52.5%, 37.4%, 0%, 61.2%)
CIE-LABlab(26.59, 5.57, -23.73)
CIE-LCHlch(26.59, 24.38, 283.21°)
OKLaboklab(36.91% -0.0042 -0.0669)
OKLCHoklch(36.91% 0.067 266.4)
XYZxyz(5.1463, 4.9501, 12.4862)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E63 #63542F
analogous
#2F5863 #2F3E63 #3A2F63
triadic
#2F3E63 #632F3E #3E632F
tetradic
#2F3E63 #632F58 #63542F #2F633A
square
#2F3E63 #632F58 #63542F #2F633A
split-complementary
#2F3E63 #633A2F #58632F
monochromatic
#0A0D15 #1B2439 #2F3E63 #43588C #5B74B1

Accessibility & contrast

On white

10.55
#2F3E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F3E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E63
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E63#FFFFFF#000000##FFFFFF
##2F3E631.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304165
Deuteranopia (green-blind)
#2A3D62
Tritanopia (blue-blind)
#19464C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3e63;
/* rgb */ color: rgb(47, 62, 99);
/* oklch */ color: oklch(36.9% 0.067 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b738f',
    500: '#2f3e63',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e63;
$custom-light: #6b738f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e63",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 99
  },
  "hsl": {
    "h": 222.692,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.067,
    "h": 266.4
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#2F3E63
secondary
#958359
accent
#AB5CCC
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F3E63

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

Preview Lab → · Contrast checker → · Palette generator →

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