#2F357B#2F357B

#2F357B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.117 H 275.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2F357B
RGBrgb(47, 53, 123)
HSLhsl(235, 45%, 33%)
HSVhsv(235, 62%, 48%)
CMYKcmyk(61.8%, 56.9%, 0%, 51.8%)
CIE-LABlab(25.50, 20.41, -40.79)
CIE-LCHlch(25.50, 45.61, 296.58°)
OKLaboklab(36.58% 0.0108 -0.117)
OKLCHoklch(36.58% 0.117 275.3)
XYZxyz(6.0194, 4.5801, 19.3019)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F357B #7B752F
analogous
#2F5B7B #2F357B #4F2F7B
triadic
#2F357B #7B2F35 #357B2F
tetradic
#2F357B #7B2F5B #7B752F #2F7B4F
square
#2F357B #7B2F5B #7B752F #2F7B4F
split-complementary
#2F357B #7B4F2F #5B7B2F
monochromatic
#0D0F22 #1E224F #2F357B #4048A7 #6269C3

Accessibility & contrast

On white

10.96
#2F357B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F357B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F357B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F357B#FFFFFF#000000##FFFFFF
##2F357B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f357b;
/* rgb */ color: rgb(47, 53, 123);
/* oklch */ color: oklch(36.6% 0.117 275.3);
Tailwind
colors: {
  custom: {
    50: '#706ca2',
    500: '#2f357b',
    950: '#000000',
  },
}
SCSS
$custom: #2f357b;
$custom-light: #706ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f357b",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 123
  },
  "hsl": {
    "h": 235.263,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.11749,
    "h": 275.3
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#2F357B
secondary
#AAA45C
accent
#CA53D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F357B

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

Preview Lab → · Contrast checker → · Palette generator →

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