#234889#234889

#234889 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.117 H 260.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#234889
RGBrgb(35, 72, 137)
HSLhsl(218, 59%, 34%)
HSVhsv(218, 74%, 54%)
CMYKcmyk(74.5%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.34, 10.63, -40.15)
CIE-LCHlch(31.34, 41.54, 284.83°)
OKLaboklab(41.15% -0.0187 -0.1151)
OKLCHoklch(41.15% 0.117 260.8)
XYZxyz(7.5242, 6.7974, 24.5775)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234889 #896423
analogous
#237B89 #234889 #312389
triadic
#234889 #892348 #488923
tetradic
#234889 #89237B #896423 #238931
square
#234889 #89237B #896423 #238931
split-complementary
#234889 #893123 #7B8923
monochromatic
#0A1528 #172E58 #234889 #2F62BA #5382D3

Accessibility & contrast

On white

8.90
#234889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#234889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234889
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234889#FFFFFF#000000##FFFFFF
##2348891.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8B
Deuteranopia (green-blind)
#0F4588
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #234889;
/* rgb */ color: rgb(35, 72, 137);
/* oklch */ color: oklch(41.2% 0.117 260.8);
Tailwind
colors: {
  custom: {
    50: '#6c7aac',
    500: '#234889',
    950: '#000000',
  },
}
SCSS
$custom: #234889;
$custom-light: #6c7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#234889",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 218.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.1166,
    "h": 260.8
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#234889
secondary
#B79251
accent
#A945E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234889

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

Preview Lab → · Contrast checker → · Palette generator →

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