#234A87#234A87

#234A87 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.111 H 259.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#234A87
RGBrgb(35, 74, 135)
HSLhsl(217, 59%, 33%)
HSVhsv(217, 74%, 53%)
CMYKcmyk(74.1%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.81, 8.49, -38.16)
CIE-LCHlch(31.81, 39.09, 282.54°)
OKLaboklab(41.48% -0.021 -0.1092)
OKLCHoklch(41.48% 0.111 259.1)
XYZxyz(7.5135, 7.0033, 23.8728)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A87 #876023
analogous
#237C87 #234A87 #2E2387
triadic
#234A87 #87234A #4A8723
tetradic
#234A87 #87237C #876023 #23872E
square
#234A87 #87237C #876023 #23872E
split-complementary
#234A87 #872E23 #7C8723
monochromatic
#0A1526 #162F56 #234A87 #3065B8 #5284D2

Accessibility & contrast

On white

8.75
#234A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#234A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A87
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A87#FFFFFF#000000##FFFFFF
##234A871.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#194786
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234a87;
/* rgb */ color: rgb(35, 74, 135);
/* oklch */ color: oklch(41.5% 0.111 259.1);
Tailwind
colors: {
  custom: {
    50: '#6c7caa',
    500: '#234a87',
    950: '#000000',
  },
}
SCSS
$custom: #234a87;
$custom-light: #6c7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#234a87",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 216.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.11119,
    "h": 259.1
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#234A87
secondary
#B68E50
accent
#A546E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234A87

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

Preview Lab → · Contrast checker → · Palette generator →

#234A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva