#234286#234286

#234286 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.120 H 263.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#234286
RGBrgb(35, 66, 134)
HSLhsl(221, 59%, 33%)
HSVhsv(221, 74%, 53%)
CMYKcmyk(73.9%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.35, 13.55, -41.50)
CIE-LCHlch(29.35, 43.66, 288.08°)
OKLaboklab(39.56% -0.0136 -0.1192)
OKLCHoklch(39.56% 0.12 263.5)
XYZxyz(6.9429, 5.9743, 23.3369)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234286 #866723
analogous
#237386 #234286 #352386
triadic
#234286 #862342 #428623
tetradic
#234286 #862373 #866723 #238635
square
#234286 #862373 #866723 #238635
split-complementary
#234286 #863523 #738623
monochromatic
#0A1225 #162A55 #234286 #305AB7 #527AD2

Accessibility & contrast

On white

9.57
#234286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#234286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234286
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234286#FFFFFF#000000##FFFFFF
##2342861.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A88
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234286;
/* rgb */ color: rgb(35, 66, 134);
/* oklch */ color: oklch(39.6% 0.120 263.5);
Tailwind
colors: {
  custom: {
    50: '#6c75aa',
    500: '#234286',
    950: '#000000',
  },
}
SCSS
$custom: #234286;
$custom-light: #6c75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#234286",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 221.212,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.11995,
    "h": 263.5
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#234286
secondary
#B5954F
accent
#B146E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #234286

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

Preview Lab → · Contrast checker → · Palette generator →

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