#234787#234787

#234787 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.115 H 260.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#234787
RGBrgb(35, 71, 135)
HSLhsl(218, 59%, 33%)
HSVhsv(218, 74%, 53%)
CMYKcmyk(74.1%, 47.4%, 0%, 47.1%)
CIE-LABlab(30.91, 10.52, -39.61)
CIE-LCHlch(30.91, 40.99, 284.88°)
OKLaboklab(40.78% -0.0181 -0.1135)
OKLCHoklch(40.78% 0.115 260.9)
XYZxyz(7.3180, 6.6123, 23.8076)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234787 #876323
analogous
#237987 #234787 #312387
triadic
#234787 #872347 #478723
tetradic
#234787 #872379 #876323 #238731
square
#234787 #872379 #876323 #238731
split-complementary
#234787 #873123 #798723
monochromatic
#0A1426 #162D56 #234787 #3061B8 #5280D2

Accessibility & contrast

On white

9.04
#234787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234787
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234787#FFFFFF#000000##FFFFFF
##2347871.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#104486
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234787;
/* rgb */ color: rgb(35, 71, 135);
/* oklch */ color: oklch(40.8% 0.115 260.9);
Tailwind
colors: {
  custom: {
    50: '#6c79aa',
    500: '#234787',
    950: '#000000',
  },
}
SCSS
$custom: #234787;
$custom-light: #6c79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#234787",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 218.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.11495,
    "h": 260.9
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#234787
secondary
#B69150
accent
#AA46E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234787

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

Preview Lab → · Contrast checker → · Palette generator →

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