#233979#233979

#233979 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.113 H 266.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#233979
RGBrgb(35, 57, 121)
HSLhsl(225, 55%, 31%)
HSVhsv(225, 71%, 47%)
CMYKcmyk(71.1%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.75, 14.66, -39.16)
CIE-LCHlch(25.75, 41.82, 290.52°)
OKLaboklab(36.52% -0.0068 -0.1124)
OKLCHoklch(36.52% 0.113 266.5)
XYZxyz(5.6063, 4.6635, 18.6901)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233979 #796323
analogous
#236479 #233979 #382379
triadic
#233979 #792339 #397923
tetradic
#233979 #792364 #796323 #237938
square
#233979 #792364 #796323 #237938
split-complementary
#233979 #793823 #647923
monochromatic
#080C1A #15234A #233979 #314FA8 #4B6CCB

Accessibility & contrast

On white

10.87
#233979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#233979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233979
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233979#FFFFFF#000000##FFFFFF
##2339791.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #233979;
/* rgb */ color: rgb(35, 57, 121);
/* oklch */ color: oklch(36.5% 0.113 266.5);
Tailwind
colors: {
  custom: {
    50: '#696ea0',
    500: '#233979',
    950: '#000000',
  },
}
SCSS
$custom: #233979;
$custom-light: #696ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#233979",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 224.651,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36523,
    "c": 0.11263,
    "h": 266.5
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#233979
secondary
#AC934C
accent
#B849DE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #233979

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

Preview Lab → · Contrast checker → · Palette generator →

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