#234397#234397

#234397 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.143 H 264.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#234397
RGBrgb(35, 67, 151)
HSLhsl(223, 62%, 36%)
HSVhsv(223, 77%, 59%)
CMYKcmyk(76.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.89, 19.57, -49.46)
CIE-LCHlch(30.89, 53.19, 291.59°)
OKLaboklab(41.13% -0.0126 -0.1425)
OKLCHoklch(41.13% 0.143 264.9)
XYZxyz(8.2842, 6.6051, 30.1105)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234397 #977723
analogous
#237D97 #234397 #3D2397
triadic
#234397 #972343 #439723
tetradic
#234397 #97237D #977723 #23973D
square
#234397 #97237D #977723 #23973D
split-complementary
#234397 #973D23 #7D9723
monochromatic
#0C1734 #172D65 #234397 #2F59C9 #5B7ED9

Accessibility & contrast

On white

9.05
#234397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234397
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234397#FFFFFF#000000##FFFFFF
##2343971.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234397;
/* rgb */ color: rgb(35, 67, 151);
/* oklch */ color: oklch(41.1% 0.143 264.9);
Tailwind
colors: {
  custom: {
    50: '#7076b6',
    500: '#234397',
    950: '#000000',
  },
}
SCSS
$custom: #234397;
$custom-light: #7076b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234397",
  "rgb": {
    "r": 35,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 223.448,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.1431,
    "h": 264.9
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#234397
secondary
#BEA258
accent
#B842E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234397

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

Preview Lab → · Contrast checker → · Palette generator →

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