#2F438E#2F438E

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

Color values

HEX#2F438E
RGBrgb(47, 67, 142)
HSLhsl(227, 50%, 37%)
HSVhsv(227, 67%, 56%)
CMYKcmyk(66.9%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.81, 17.91, -44.05)
CIE-LCHlch(30.81, 47.55, 292.12°)
OKLaboklab(41.02% -0.0023 -0.1264)
OKLCHoklch(41.02% 0.126 269)
XYZxyz(8.0603, 6.5709, 26.4295)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F438E #8E7A2F
analogous
#2F738E #2F438E #4A2F8E
triadic
#2F438E #8E2F43 #438E2F
tetradic
#2F438E #8E2F73 #8E7A2F #2F8E4A
square
#2F438E #8E2F73 #8E7A2F #2F8E4A
split-complementary
#2F438E #8E4A2F #738E2F
monochromatic
#111832 #202D60 #2F438E #3E59BC #6A7FCE

Accessibility & contrast

On white

9.07
#2F438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F438E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F438E#FFFFFF#000000##FFFFFF
##2F438E1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f438e;
/* rgb */ color: rgb(47, 67, 142);
/* oklch */ color: oklch(41.0% 0.126 269.0);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#2f438e',
    950: '#000000',
  },
}
SCSS
$custom: #2f438e;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f438e",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 227.368,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.12642,
    "h": 269
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#2F438E
secondary
#B5A464
accent
#BC4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F438E

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

Preview Lab → · Contrast checker → · Palette generator →

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