#234881#234881

#234881 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.105 H 258.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#234881
RGBrgb(35, 72, 129)
HSLhsl(216, 57%, 32%)
HSVhsv(216, 73%, 51%)
CMYKcmyk(72.9%, 44.2%, 0%, 49.4%)
CIE-LABlab(30.82, 7.48, -36.04)
CIE-LCHlch(30.82, 36.80, 281.72°)
OKLaboklab(40.59% -0.0203 -0.103)
OKLCHoklch(40.59% 0.105 258.8)
XYZxyz(6.9715, 6.5763, 21.6666)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234881 #815C23
analogous
#237781 #234881 #2D2381
triadic
#234881 #812348 #488123
tetradic
#234881 #812377 #815C23 #23812D
square
#234881 #812377 #815C23 #23812D
split-complementary
#234881 #812D23 #778123
monochromatic
#091221 #162D51 #234881 #3063B1 #4F82CF

Accessibility & contrast

On white

9.07
#234881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#234881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##234881#FFFFFF#000000##FFFFFF
##2348811.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D83
Deuteranopia (green-blind)
#1C4580
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234881;
/* rgb */ color: rgb(35, 72, 129);
/* oklch */ color: oklch(40.6% 0.105 258.8);
Tailwind
colors: {
  custom: {
    50: '#6a7aa6',
    500: '#234881',
    950: '#000000',
  },
}
SCSS
$custom: #234881;
$custom-light: #6a7aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#234881",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 216.383,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.10495,
    "h": 258.8
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#234881
secondary
#B38B4D
accent
#A447E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #234881

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

Preview Lab → · Contrast checker → · Palette generator →

#234881 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva