#2F4483#2F4483

#2F4483 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.109 H 267.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2F4483
RGBrgb(47, 68, 131)
HSLhsl(225, 47%, 35%)
HSVhsv(225, 64%, 51%)
CMYKcmyk(64.1%, 48.1%, 0%, 48.6%)
CIE-LABlab(30.34, 13.12, -38.01)
CIE-LCHlch(30.34, 40.21, 289.04°)
OKLaboklab(40.42% -0.0047 -0.1086)
OKLCHoklch(40.42% 0.109 267.5)
XYZxyz(7.3347, 6.3766, 22.3126)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4483 #836E2F
analogous
#2F6E83 #2F4483 #442F83
triadic
#2F4483 #832F44 #44832F
tetradic
#2F4483 #832F6E #836E2F #2F8344
square
#2F4483 #832F6E #836E2F #2F8344
split-complementary
#2F4483 #83442F #6E832F
monochromatic
#0F1529 #1F2D56 #2F4483 #3F5BB0 #657DC8

Accessibility & contrast

On white

9.23
#2F4483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F4483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4483
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4483#FFFFFF#000000##FFFFFF
##2F44831.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#174482
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4483;
/* rgb */ color: rgb(47, 68, 131);
/* oklch */ color: oklch(40.4% 0.109 267.5);
Tailwind
colors: {
  custom: {
    50: '#7077a7',
    500: '#2f4483',
    950: '#000000',
  },
}
SCSS
$custom: #2f4483;
$custom-light: #7077a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4483",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 131
  },
  "hsl": {
    "h": 225,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.10871,
    "h": 267.5
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#2F4483
secondary
#AF9B5F
accent
#B551D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4483

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

Preview Lab → · Contrast checker → · Palette generator →

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