#234989#234989

#234989 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.115 H 260.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#234989
RGBrgb(35, 73, 137)
HSLhsl(218, 59%, 34%)
HSVhsv(218, 74%, 54%)
CMYKcmyk(74.5%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.64, 9.96, -39.67)
CIE-LCHlch(31.64, 40.90, 284.09°)
OKLaboklab(41.38% -0.0197 -0.1136)
OKLCHoklch(41.38% 0.115 260.2)
XYZxyz(7.5894, 6.9277, 24.5993)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234989 #896323
analogous
#237C89 #234989 #302389
triadic
#234989 #892349 #498923
tetradic
#234989 #89237C #896323 #238930
square
#234989 #89237C #896323 #238930
split-complementary
#234989 #893023 #7C8923
monochromatic
#0A1528 #172F58 #234989 #2F63BA #5383D3

Accessibility & contrast

On white

8.80
#234989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#234989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234989
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234989#FFFFFF#000000##FFFFFF
##2349891.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8B
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #234989;
/* rgb */ color: rgb(35, 73, 137);
/* oklch */ color: oklch(41.4% 0.115 260.2);
Tailwind
colors: {
  custom: {
    50: '#6c7bac',
    500: '#234989',
    950: '#000000',
  },
}
SCSS
$custom: #234989;
$custom-light: #6c7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#234989",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 217.647,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.11533,
    "h": 260.2
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#234989
secondary
#B79151
accent
#A845E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234989

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

Preview Lab → · Contrast checker → · Palette generator →

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