#234097#234097

#234097 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.147 H 266.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#234097
RGBrgb(35, 64, 151)
HSLhsl(225, 62%, 36%)
HSVhsv(225, 77%, 59%)
CMYKcmyk(76.8%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.05, 21.62, -50.82)
CIE-LCHlch(30.05, 55.22, 293.05°)
OKLaboklab(40.5% -0.0103 -0.1466)
OKLCHoklch(40.5% 0.147 266)
XYZxyz(8.1105, 6.2576, 30.0525)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234097 #977A23
analogous
#237A97 #234097 #402397
triadic
#234097 #972340 #409723
tetradic
#234097 #97237A #977A23 #239740
square
#234097 #97237A #977A23 #239740
split-complementary
#234097 #974023 #7A9723
monochromatic
#0C1634 #172B65 #234097 #2F55C9 #5B7BD9

Accessibility & contrast

On white

9.33
#234097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#234097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234097
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234097#FFFFFF#000000##FFFFFF
##2340971.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234097;
/* rgb */ color: rgb(35, 64, 151);
/* oklch */ color: oklch(40.5% 0.147 266.0);
Tailwind
colors: {
  custom: {
    50: '#7074b6',
    500: '#234097',
    950: '#000000',
  },
}
SCSS
$custom: #234097;
$custom-light: #7074b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234097",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 225,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.14695,
    "h": 266
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#234097
secondary
#BEA458
accent
#BD42E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234097

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

Preview Lab → · Contrast checker → · Palette generator →

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