#2F4B90#2F4B90

#2F4B90 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.9% C 0.119 H 265.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2F4B90
RGBrgb(47, 75, 144)
HSLhsl(223, 51%, 37%)
HSVhsv(223, 67%, 56%)
CMYKcmyk(67.4%, 47.9%, 0%, 43.5%)
CIE-LABlab(33.24, 13.27, -41.36)
CIE-LCHlch(33.24, 43.44, 287.78°)
OKLaboklab(42.91% -0.01 -0.1184)
OKLCHoklch(42.91% 0.119 265.2)
XYZxyz(8.7207, 7.6493, 27.3970)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B90 #90742F
analogous
#2F7C90 #2F4B90 #432F90
triadic
#2F4B90 #902F4B #4B902F
tetradic
#2F4B90 #902F7C #90742F #2F9043
square
#2F4B90 #902F7C #90742F #2F9043
split-complementary
#2F4B90 #90432F #7C902F
monochromatic
#111B34 #203362 #2F4B90 #3E63BE #6B88CF

Accessibility & contrast

On white

8.30
#2F4B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F4B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B90
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B90#FFFFFF#000000##FFFFFF
##2F4B901.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#154A8F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4b90;
/* rgb */ color: rgb(47, 75, 144);
/* oklch */ color: oklch(42.9% 0.119 265.2);
Tailwind
colors: {
  custom: {
    50: '#737cb1',
    500: '#2f4b90',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b90;
$custom-light: #737cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b90",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 144
  },
  "hsl": {
    "h": 222.68,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.11879,
    "h": 265.2
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#2F4B90
secondary
#B69E65
accent
#B24EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4B90

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

Preview Lab → · Contrast checker → · Palette generator →

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