#234381#234381

#234381 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.111 H 262.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#234381
RGBrgb(35, 67, 129)
HSLhsl(220, 57%, 32%)
HSVhsv(220, 73%, 51%)
CMYKcmyk(72.9%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.30, 10.88, -38.47)
CIE-LCHlch(29.30, 39.98, 285.80°)
OKLaboklab(39.41% -0.0154 -0.1102)
OKLCHoklch(39.41% 0.111 262.1)
XYZxyz(6.6613, 5.9559, 21.5632)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234381 #816123
analogous
#237281 #234381 #322381
triadic
#234381 #812343 #438123
tetradic
#234381 #812372 #816123 #238132
square
#234381 #812372 #816123 #238132
split-complementary
#234381 #813223 #728123
monochromatic
#091121 #162A51 #234381 #305CB1 #4F7BCF

Accessibility & contrast

On white

9.58
#234381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234381
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234381#FFFFFF#000000##FFFFFF
##2343811.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#0E4180
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234381;
/* rgb */ color: rgb(35, 67, 129);
/* oklch */ color: oklch(39.4% 0.111 262.1);
Tailwind
colors: {
  custom: {
    50: '#6b76a6',
    500: '#234381',
    950: '#000000',
  },
}
SCSS
$custom: #234381;
$custom-light: #6b76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#234381",
  "rgb": {
    "r": 35,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 219.574,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39412,
    "c": 0.1113,
    "h": 262.1
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#234381
secondary
#B3904D
accent
#AC47E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #234381

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

Preview Lab → · Contrast checker → · Palette generator →

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