#233A97#233A97

#233A97 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.155 H 267.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#233A97
RGBrgb(35, 58, 151)
HSLhsl(228, 62%, 36%)
HSVhsv(228, 77%, 59%)
CMYKcmyk(76.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.42, 25.70, -53.47)
CIE-LCHlch(28.42, 59.33, 295.68°)
OKLaboklab(39.28% -0.006 -0.1545)
OKLCHoklch(39.28% 0.155 267.8)
XYZxyz(7.7902, 5.6169, 29.9458)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A97 #978023
analogous
#237497 #233A97 #462397
triadic
#233A97 #97233A #3A9723
tetradic
#233A97 #972374 #978023 #239746
square
#233A97 #972374 #978023 #239746
split-complementary
#233A97 #974623 #749723
monochromatic
#0C1434 #172765 #233A97 #2F4DC9 #5B74D9

Accessibility & contrast

On white

9.89
#233A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#233A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A97
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A97#FFFFFF#000000##FFFFFF
##233A971.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233a97;
/* rgb */ color: rgb(35, 58, 151);
/* oklch */ color: oklch(39.3% 0.155 267.8);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#233a97',
    950: '#000000',
  },
}
SCSS
$custom: #233a97;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#233a97",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 228.103,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.15458,
    "h": 267.8
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#233A97
secondary
#BEA958
accent
#C542E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233A97

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

Preview Lab → · Contrast checker → · Palette generator →

#233A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva