#234786#234786

#234786 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.114 H 260.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#234786
RGBrgb(35, 71, 134)
HSLhsl(218, 59%, 33%)
HSVhsv(218, 74%, 53%)
CMYKcmyk(73.9%, 47%, 0%, 47.5%)
CIE-LABlab(30.84, 10.13, -39.10)
CIE-LCHlch(30.84, 40.39, 284.52°)
OKLaboklab(40.7% -0.0183 -0.112)
OKLCHoklch(40.7% 0.114 260.7)
XYZxyz(7.2479, 6.5843, 23.4385)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234786 #866223
analogous
#237886 #234786 #302386
triadic
#234786 #862347 #478623
tetradic
#234786 #862378 #866223 #238630
square
#234786 #862378 #866223 #238630
split-complementary
#234786 #863023 #788623
monochromatic
#0A1425 #162D55 #234786 #3061B7 #5280D2

Accessibility & contrast

On white

9.06
#234786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234786
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234786#FFFFFF#000000##FFFFFF
##2347861.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#124485
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234786;
/* rgb */ color: rgb(35, 71, 134);
/* oklch */ color: oklch(40.7% 0.114 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c79aa',
    500: '#234786',
    950: '#000000',
  },
}
SCSS
$custom: #234786;
$custom-light: #6c79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#234786",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 218.182,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.1135,
    "h": 260.7
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#234786
secondary
#B5904F
accent
#A946E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234786

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

Preview Lab → · Contrast checker → · Palette generator →

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