#234887#234887

#234887 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.114 H 260.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#234887
RGBrgb(35, 72, 135)
HSLhsl(218, 59%, 33%)
HSVhsv(218, 74%, 53%)
CMYKcmyk(74.1%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.21, 9.84, -39.13)
CIE-LCHlch(31.21, 40.35, 284.12°)
OKLaboklab(41.01% -0.0191 -0.1121)
OKLCHoklch(41.01% 0.114 260.3)
XYZxyz(7.3821, 6.7405, 23.8290)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234887 #876223
analogous
#237A87 #234887 #302387
triadic
#234887 #872348 #488723
tetradic
#234887 #87237A #876223 #238730
square
#234887 #87237A #876223 #238730
split-complementary
#234887 #873023 #7A8723
monochromatic
#0A1426 #162E56 #234887 #3062B8 #5282D2

Accessibility & contrast

On white

8.94
#234887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#234887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234887
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234887#FFFFFF#000000##FFFFFF
##2348871.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#134586
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234887;
/* rgb */ color: rgb(35, 72, 135);
/* oklch */ color: oklch(41.0% 0.114 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c7aaa',
    500: '#234887',
    950: '#000000',
  },
}
SCSS
$custom: #234887;
$custom-light: #6c7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#234887",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 217.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.11369,
    "h": 260.3
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#234887
secondary
#B69050
accent
#A846E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234887

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

Preview Lab → · Contrast checker → · Palette generator →

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