#2F438F#2F438F

#2F438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.128 H 269.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F438F
RGBrgb(47, 67, 143)
HSLhsl(228, 51%, 37%)
HSVhsv(228, 67%, 56%)
CMYKcmyk(67.1%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.88, 18.28, -44.55)
CIE-LCHlch(30.88, 48.16, 292.31°)
OKLaboklab(41.09% -0.0022 -0.1279)
OKLCHoklch(41.09% 0.128 269)
XYZxyz(8.1357, 6.6011, 26.8267)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F438F #8F7B2F
analogous
#2F738F #2F438F #4B2F8F
triadic
#2F438F #8F2F43 #438F2F
tetradic
#2F438F #8F2F73 #8F7B2F #2F8F4B
square
#2F438F #8F2F73 #8F7B2F #2F8F4B
split-complementary
#2F438F #8F4B2F #738F2F
monochromatic
#111833 #202D61 #2F438F #3E59BD #6A7FCE

Accessibility & contrast

On white

9.05
#2F438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F438F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F438F#FFFFFF#000000##FFFFFF
##2F438F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f438f;
/* rgb */ color: rgb(47, 67, 143);
/* oklch */ color: oklch(41.1% 0.128 269.0);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#2f438f',
    950: '#000000',
  },
}
SCSS
$custom: #2f438f;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f438f",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 227.5,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41093,
    "c": 0.12789,
    "h": 269
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#2F438F
secondary
#B5A465
accent
#BD4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F438F

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

Preview Lab → · Contrast checker → · Palette generator →

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