#2F355A#2F355A

#2F355A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.065 H 275.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2F355A
RGBrgb(47, 53, 90)
HSLhsl(232, 31%, 27%)
HSVhsv(232, 48%, 35%)
CMYKcmyk(47.8%, 41.1%, 0%, 64.7%)
CIE-LABlab(23.30, 8.63, -23.06)
CIE-LCHlch(23.30, 24.62, 290.52°)
OKLaboklab(34.2% 0.0062 -0.065)
OKLCHoklch(34.2% 0.065 275.4)
XYZxyz(4.2903, 3.8885, 10.1954)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F355A #5A542F
analogous
#2F4B5A #2F355A #3F2F5A
triadic
#2F355A #5A2F35 #355A2F
tetradic
#2F355A #5A2F4B #5A542F #2F5A3F
square
#2F355A #5A2F4B #5A542F #2F5A3F
split-complementary
#2F355A #5A3F2F #4B5A2F
monochromatic
#0A0C14 #1A1D32 #2F355A #444D82 #5A65A9

Accessibility & contrast

On white

11.81
#2F355A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2F355A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F355A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F355A#FFFFFF#000000##FFFFFF
##2F355A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#203D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f355a;
/* rgb */ color: rgb(47, 53, 90);
/* oklch */ color: oklch(34.2% 0.065 275.4);
Tailwind
colors: {
  custom: {
    50: '#6a6c89',
    500: '#2f355a',
    950: '#000000',
  },
}
SCSS
$custom: #2f355a;
$custom-light: #6a6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#2f355a",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 90
  },
  "hsl": {
    "h": 231.628,
    "s": 31.387,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.06526,
    "h": 275.4
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#2F355A
secondary
#8C8559
accent
#B960C8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2F355A

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

Preview Lab → · Contrast checker → · Palette generator →

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