#234297#234297

#234297 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.144 H 265.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#234297
RGBrgb(35, 66, 151)
HSLhsl(224, 62%, 36%)
HSVhsv(224, 77%, 59%)
CMYKcmyk(76.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.61, 20.26, -49.91)
CIE-LCHlch(30.61, 53.87, 292.09°)
OKLaboklab(40.92% -0.0119 -0.1439)
OKLCHoklch(40.92% 0.144 265.3)
XYZxyz(8.2253, 6.4872, 30.0908)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234297 #977823
analogous
#237C97 #234297 #3E2397
triadic
#234297 #972342 #429723
tetradic
#234297 #97237C #977823 #23973E
square
#234297 #97237C #977823 #23973E
split-complementary
#234297 #973E23 #7C9723
monochromatic
#0C1734 #172C65 #234297 #2F58C9 #5B7DD9

Accessibility & contrast

On white

9.14
#234297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#234297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234297
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234297#FFFFFF#000000##FFFFFF
##2342971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #234297;
/* rgb */ color: rgb(35, 66, 151);
/* oklch */ color: oklch(40.9% 0.144 265.3);
Tailwind
colors: {
  custom: {
    50: '#7075b6',
    500: '#234297',
    950: '#000000',
  },
}
SCSS
$custom: #234297;
$custom-light: #7075b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234297",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 223.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.14439,
    "h": 265.3
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #234297

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

Preview Lab → · Contrast checker → · Palette generator →

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