#2F4485#2F4485

#2F4485 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.112 H 267.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2F4485
RGBrgb(47, 68, 133)
HSLhsl(225, 48%, 35%)
HSVhsv(225, 65%, 52%)
CMYKcmyk(64.7%, 48.9%, 0%, 47.8%)
CIE-LABlab(30.48, 13.86, -39.04)
CIE-LCHlch(30.48, 41.43, 289.55°)
OKLaboklab(40.56% -0.0044 -0.1116)
OKLCHoklch(40.56% 0.112 267.7)
XYZxyz(7.4716, 6.4314, 23.0334)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4485 #85702F
analogous
#2F6F85 #2F4485 #452F85
triadic
#2F4485 #852F44 #44852F
tetradic
#2F4485 #852F6F #85702F #2F8545
square
#2F4485 #852F6F #85702F #2F8545
split-complementary
#2F4485 #85452F #6F852F
monochromatic
#0F162B #1F2D58 #2F4485 #3F5BB2 #667EC9

Accessibility & contrast

On white

9.18
#2F4485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F4485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4485
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4485#FFFFFF#000000##FFFFFF
##2F44851.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C87
Deuteranopia (green-blind)
#134484
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4485;
/* rgb */ color: rgb(47, 68, 133);
/* oklch */ color: oklch(40.6% 0.112 267.7);
Tailwind
colors: {
  custom: {
    50: '#7177a9',
    500: '#2f4485',
    950: '#000000',
  },
}
SCSS
$custom: #2f4485;
$custom-light: #7177a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4485",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 225.349,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40564,
    "c": 0.11172,
    "h": 267.7
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#2F4485
secondary
#B09C60
accent
#B650D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4485

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

Preview Lab → · Contrast checker → · Palette generator →

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