#235FAF#235FAF

#235FAF is a mid, vivid cyan. Relative luminance 0.116; OKLCH L 49.1% C 0.142 H 257.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#235FAF
RGBrgb(35, 95, 175)
HSLhsl(214, 67%, 41%)
HSVhsv(214, 80%, 69%)
CMYKcmyk(80%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.63, 10.31, -48.11)
CIE-LCHlch(40.63, 49.20, 282.10°)
OKLaboklab(49.11% -0.0318 -0.138)
OKLCHoklch(49.11% 0.142 257)
XYZxyz(12.5204, 11.6354, 42.1351)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235FAF #AF7323
analogous
#23A5AF #235FAF #2D23AF
triadic
#235FAF #AF235F #5FAF23
tetradic
#235FAF #AF23A5 #AF7323 #23AF2D
square
#235FAF #AF23A5 #AF7323 #23AF2D
split-complementary
#235FAF #AF2D23 #A5AF23
monochromatic
#0F2849 #19437C #235FAF #387CD7 #6B9EE1

Accessibility & contrast

On white

6.31
#235FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#235FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235FAF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235FAF#FFFFFF#000000##FFFFFF
##235FAF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #235faf;
/* rgb */ color: rgb(35, 95, 175);
/* oklch */ color: oklch(49.1% 0.142 257.0);
Tailwind
colors: {
  custom: {
    50: '#748bc7',
    500: '#235faf',
    950: '#000000',
  },
}
SCSS
$custom: #235faf;
$custom-light: #748bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#235faf",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 214.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.14164,
    "h": 257
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#235FAF
secondary
#C79E66
accent
#A03EEA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #235FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#235FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva