#234281#234281

#234281 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.113 H 262.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#234281
RGBrgb(35, 66, 129)
HSLhsl(220, 57%, 32%)
HSVhsv(220, 73%, 51%)
CMYKcmyk(72.9%, 48.8%, 0%, 49.4%)
CIE-LABlab(29.00, 11.57, -38.96)
CIE-LCHlch(29.00, 40.64, 286.54°)
OKLaboklab(39.18% -0.0144 -0.1117)
OKLCHoklch(39.18% 0.113 262.7)
XYZxyz(6.6024, 5.8380, 21.5435)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234281 #816223
analogous
#237181 #234281 #332381
triadic
#234281 #812342 #428123
tetradic
#234281 #812371 #816223 #238133
square
#234281 #812371 #816223 #238133
split-complementary
#234281 #813323 #718123
monochromatic
#091121 #162951 #234281 #305BB1 #4F79CF

Accessibility & contrast

On white

9.69
#234281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#234281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234281
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234281#FFFFFF#000000##FFFFFF
##2342811.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214983
Deuteranopia (green-blind)
#0A4080
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #234281;
/* rgb */ color: rgb(35, 66, 129);
/* oklch */ color: oklch(39.2% 0.113 262.7);
Tailwind
colors: {
  custom: {
    50: '#6b75a6',
    500: '#234281',
    950: '#000000',
  },
}
SCSS
$custom: #234281;
$custom-light: #6b75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#234281",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 220.213,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.11259,
    "h": 262.7
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#234281
secondary
#B3914D
accent
#AE47E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #234281

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

Preview Lab → · Contrast checker → · Palette generator →

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