#2B438E#2B438E

#2B438E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.128 H 267.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2B438E
RGBrgb(43, 67, 142)
HSLhsl(225, 54%, 36%)
HSVhsv(225, 70%, 56%)
CMYKcmyk(69.7%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.59, 17.23, -44.41)
CIE-LCHlch(30.59, 47.64, 291.20°)
OKLaboklab(40.79% -0.0063 -0.1275)
OKLCHoklch(40.79% 0.128 267.2)
XYZxyz(7.8842, 6.4801, 26.4212)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B438E #8E762B
analogous
#2B758E #2B438E #452B8E
triadic
#2B438E #8E2B43 #438E2B
tetradic
#2B438E #8E2B75 #8E762B #2B8E45
square
#2B438E #8E2B75 #8E762B #2B8E45
split-complementary
#2B438E #8E452B #758E2B
monochromatic
#0F1730 #1D2D5F #2B438E #3959BD #637ED0

Accessibility & contrast

On white

9.15
#2B438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B438E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B438E#FFFFFF#000000##FFFFFF
##2B438E1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b438e;
/* rgb */ color: rgb(43, 67, 142);
/* oklch */ color: oklch(40.8% 0.128 267.2);
Tailwind
colors: {
  custom: {
    50: '#7176b0',
    500: '#2b438e',
    950: '#000000',
  },
}
SCSS
$custom: #2b438e;
$custom-light: #7176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b438e",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 225.455,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.1277,
    "h": 267.2
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#2B438E
secondary
#B6A15F
accent
#BA4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B438E

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

Preview Lab → · Contrast checker → · Palette generator →

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